@@ -67,63 +67,33 @@ export default [
6767 // JSX A11y recommended rules 
6868 ...jsxA11y . configs . recommended . rules , 
6969
70-  // TypeScript-specific overrides  
70+  // Overrides  
7171 'import/no-extraneous-dependencies' : [ 
7272 'error' , 
7373 { 
7474 packageDir : '.' , 
7575 } , 
7676 ] , 
77-  'import/extensions' : 'off' , 
78-  'no-console' : 'off' , 
79-  camelcase : 'off' , 
80-  'no-shadow' : 'off' , 
81-  'prefer-template' : 'off' , 
82-  'no-constant-condition' : 'off' , 
83-  'no-unused-vars' : 'off' , 
84-  'no-undef' : 'off' , 
85-  'no-use-before-define' : 'off' , 
86-  'no-redeclare' : 'off' ,  // Allow function overloads in TypeScript 
87-  'import/no-named-as-default-member' : 'off' , 
88-  'one-var' : 'off' , 
89-  'import/no-namespace' : 'off' , 
90-  'import/no-anonymous-default-export' : 'off' , 
91-  'object-shorthand' : 'off' , 
92-  'no-empty' : 'off' , 
93-  'prefer-const' : 'off' , 
94-  'import/no-named-as-default' : 'off' , 
95-  'no-useless-concat' : 'off' , 
96-  'func-style' : 'off' , 
97- 
98-  // TypeScript ESLint specific rules 
77+  'import/extensions' : [ 'error' ,  {  json : 'always'  } ] , 
78+  'no-empty' : [ 'error' ,  {  allowEmptyCatch : true  } ] , 
9979 '@typescript-eslint/no-unused-vars' : 'error' , 
80+  'prefer-const' : [ 'error' ,  {  destructuring : 'all'  } ] , 
10081
101-  // Disable GitHub plugin rules that were disabled in original config 
102-  'github/array-foreach' : 'off' , 
103-  'github/no-then' : 'off' , 
104- 
105-  // Disable rules that might not exist or cause issues initially 
106-  'i18n-text/no-en' : 'off' , 
107-  'filenames/match-regex' : 'off' , 
108-  'eslint-comments/no-use' : 'off' , 
109-  'eslint-comments/no-unused-disable' : 'off' , 
110-  'eslint-comments/no-unlimited-disable' : 'off' , 
111- 
112-  // Disable new ESLint 9 rules that are causing issues 
113-  'no-constant-binary-expression' : 'off' , 
114- 
115-  // Disable stricter TypeScript rules initially 
116-  '@typescript-eslint/no-explicit-any' : 'off' , 
117-  '@typescript-eslint/no-unused-expressions' : 'off' , 
118-  '@typescript-eslint/ban-ts-comment' : 'off' , 
119-  '@typescript-eslint/no-wrapper-object-types' : 'off' , 
120-  '@typescript-eslint/no-non-null-asserted-optional-chain' : 'off' , 
121-  '@typescript-eslint/no-unsafe-function-type' : 'off' , 
122-  '@typescript-eslint/no-empty-object-type' : 'off' , 
123-  '@typescript-eslint/prefer-as-const' : 'off' , 
82+  // Rules that must be disabled 
83+  'no-redeclare' : 'off' ,  // Allow function overloads in TypeScript 
84+  'i18n-text/no-en' : 'off' ,  // This rule causes eslint to not run at all 
85+  'filenames/match-regex' : 'off' ,  // This rule causes eslint to not run at all 
12486
125-  // React/JSX specific rules 
126-  'jsx-a11y/no-onchange' : 'off' , 
87+  // Disabled rules to review 
88+  'github/no-then' : 'off' ,  // 30+ 
89+  '@typescript-eslint/ban-ts-comment' : 'off' ,  // 50+ 
90+  'no-undef' : 'off' ,  // 50+ 
91+  'no-shadow' : 'off' ,  // 150+ 
92+  'prefer-template' : 'off' ,  // 150+ 
93+  'github/array-foreach' : 'off' ,  // 250+ 
94+  camelcase : 'off' ,  // 600+ 
95+  'no-console' : 'off' ,  // 800+ 
96+  '@typescript-eslint/no-explicit-any' : 'off' ,  // 1000+ 
12797 } , 
12898 } , 
12999
0 commit comments