From 690aabe4c078484c95cc391ebf2f147eda4984bb Mon Sep 17 00:00:00 2001 From: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com> Date: Mon, 29 Jul 2024 11:26:50 +1000 Subject: [PATCH] Fix eslint --- eslint.config.js | 6 +++--- package.json | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/eslint.config.js b/eslint.config.js index d28c1055..d4e94e24 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -8,9 +8,9 @@ export default [ { name: 'tanstack/temp', rules: { - 'ts/ban-types': 'off', - 'ts/naming-convention': 'off', - 'ts/no-unnecessary-condition': 'off', + '@typescript-eslint/ban-types': 'off', + '@typescript-eslint/naming-convention': 'off', + '@typescript-eslint/no-unnecessary-condition': 'off', 'no-self-assign': 'off', }, }, diff --git a/package.json b/package.json index f702e81f..50bba033 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "test": "pnpm run test:ci", "test:pr": "nx affected --targets=test:sherif,test:knip,test:eslint,test:lib,test:types,test:build,build", "test:ci": "nx run-many --targets=test:sherif,test:knip,test:eslint,test:lib,test:types,test:build,build", + "test:eslint": "nx affected --target=test:eslint", "test:format": "pnpm run prettier --check", "test:sherif": "sherif", "test:lib": "nx affected --target=test:lib --exclude=examples/**",