33/** @type {import('eslint').Linter.Config } */
44const config = {
55 root : true ,
6+ reportUnusedDisableDirectives : true ,
7+ ignorePatterns : [ '**/build' , '**/coverage' , '**/dist' ] ,
68 parser : '@typescript-eslint/parser' ,
79 plugins : [ '@typescript-eslint' , 'import' ] ,
810 extends : [
9- 'plugin:@typescript- eslint/eslint- recommended' ,
11+ 'eslint: recommended' ,
1012 'plugin:@typescript-eslint/recommended' ,
13+ 'plugin:@typescript-eslint/stylistic' ,
1114 'plugin:import/recommended' ,
1215 'plugin:import/typescript' ,
1316 'prettier' ,
@@ -18,7 +21,7 @@ const config = {
1821 } ,
1922 parserOptions : {
2023 tsconfigRootDir : __dirname ,
21- project : './tsconfig.json' ,
24+ project : true ,
2225 sourceType : 'module' ,
2326 ecmaVersion : 2020 ,
2427 } ,
@@ -34,14 +37,17 @@ const config = {
3437 } ,
3538 } ,
3639 rules : {
40+ '@typescript-eslint/array-type' : 'off' ,
3741 '@typescript-eslint/ban-types' : 'off' ,
3842 '@typescript-eslint/ban-ts-comment' : 'off' ,
43+ '@typescript-eslint/consistent-type-definitions' : 'off' ,
3944 '@typescript-eslint/consistent-type-imports' : 'error' ,
4045 '@typescript-eslint/explicit-module-boundary-types' : 'off' ,
4146 '@typescript-eslint/no-empty-interface' : 'off' ,
4247 '@typescript-eslint/no-explicit-any' : 'off' ,
4348 '@typescript-eslint/no-non-null-assertion' : 'off' ,
4449 '@typescript-eslint/no-unnecessary-condition' : 'error' ,
50+ '@typescript-eslint/no-unused-vars' : 'off' ,
4551 '@typescript-eslint/no-inferrable-types' : [
4652 'error' ,
4753 {
@@ -52,8 +58,10 @@ const config = {
5258 'import/no-cycle' : 'error' ,
5359 'import/no-unresolved' : [ 'error' , { ignore : [ '^@tanstack/' ] } ] ,
5460 'import/no-unused-modules' : [ 'off' , { unusedExports : true } ] ,
61+ 'no-async-promise-executor' : 'off' ,
62+ 'no-empty' : 'off' ,
5563 'no-redeclare' : 'off' ,
56- '@typescript-eslint/ no-unused-vars ' : 'off' ,
64+ 'no-undef ' : 'off' ,
5765 } ,
5866 overrides : [
5967 {
0 commit comments