@@ -5,49 +5,60 @@ module.exports = {
55 node : true ,
66 } ,
77 extends : [
8- " airbnb" ,
9- " airbnb/hooks" ,
10- " airbnb-typescript" ,
11- " plugin:prettier/recommended" ,
12- " plugin:tailwindcss/recommended" ,
8+ ' airbnb' ,
9+ ' airbnb/hooks' ,
10+ ' airbnb-typescript' ,
11+ ' plugin:prettier/recommended' ,
12+ ' plugin:tailwindcss/recommended' ,
1313 ] ,
14- parser : " @typescript-eslint/parser" ,
14+ parser : ' @typescript-eslint/parser' ,
1515 parserOptions : {
16- ecmaVersion : "latest" ,
17- sourceType : "module" ,
18- project : "./tsconfig.json" ,
16+ project : './tsconfig.json' ,
1917 } ,
20- plugins : [
21- "@typescript-eslint" ,
22- "react" ,
23- "import" ,
24- "jsx-a11y" ,
25- "unused-imports" ,
26- "prettier" ,
27- "tailwindcss" ,
28- ] ,
18+ plugins : [ '@typescript-eslint' , 'react' , 'import' , 'jsx-a11y' , 'unused-imports' , 'prettier' , 'tailwindcss' ] ,
2919 rules : {
30- " unused-imports/no-unused-imports" : " error" ,
31- " prettier/prettier" : " error" ,
32- " react/function-component-definition" : [
33- " error" ,
20+ ' unused-imports/no-unused-imports' : ' error' ,
21+ ' prettier/prettier' : ' error' ,
22+ ' react/function-component-definition' : [
23+ ' error' ,
3424 {
35- namedComponents : " arrow-function" ,
36- unnamedComponents : " arrow-function" ,
25+ namedComponents : ' arrow-function' ,
26+ unnamedComponents : ' arrow-function' ,
3727 } ,
3828 ] ,
39- "import/extensions" : [ "off" , "ignorePackages" ] ,
40- "jsx-a11y/no-static-element-interactions" : "off" ,
41- "jsx-a11y/click-events-have-key-events" : "off" ,
42- "react/require-default-props" : "off" ,
43- "import/no-extraneous-dependencies" : [ "error" , { "devDependencies" : [ "**/electron/**" , "**/preload/**" ] } ] ,
29+ 'import/extensions' : [ 'off' , 'ignorePackages' ] ,
30+ 'jsx-a11y/no-static-element-interactions' : 'off' ,
31+ 'jsx-a11y/click-events-have-key-events' : 'off' ,
32+ 'react/require-default-props' : 'off' ,
33+ 'no-underscore-dangle' : 'off' ,
34+ 'react/destructoring-assignment' : 'off' ,
35+ 'react/jsx-props-no-spreading' : 'off' ,
36+ 'object-shorthand' : 'off' ,
37+ "import/no-extraneous-dependencies" : [
38+ "error" , {
39+ "devDependencies" : true ,
40+ "optionalDependencies" : false ,
41+ "peerDependencies" : false ,
42+ "packageDir" : "./"
43+ }
44+ ] ,
45+ "react/destructuring-assignment" : "off" ,
46+ "no-plusplus" : "off" ,
47+ "no-restricted-syntax" : "off" ,
48+ "no-param-reassign" : 'off' ,
49+ "prefer-destructuring" : 'off' ,
50+ "no-return-assign" : 'off' ,
51+ "no-cond-assign" : 'off' ,
52+ // TEMPORARILY DISABLE CIRCULAR DEPENDENCY CHECK -- UPDATE LATER
53+ "import/no-cycle" : 'off' ,
54+ "no-alert" : 'off' ,
4455 } ,
45- ignorePatterns : [ " vite.config.ts" , " .eslintrc.js" ] ,
56+ ignorePatterns : [ ' vite.config.ts' , ' .eslintrc.js' ] ,
4657 settings : {
47- " import/resolver" : {
58+ ' import/resolver' : {
4859 node : {
49- extensions : [ " .js" , " .jsx" , " .ts" , " .tsx" ] ,
60+ extensions : [ ' .js' , ' .jsx' , ' .ts' , ' .tsx' ] ,
5061 } ,
5162 } ,
5263 } ,
53- } ;
64+ }
0 commit comments