88module . exports = {
99 root : true ,
1010 parserOptions : {
11- ecmaVersion : " latest" ,
12- sourceType : " module" ,
11+ ecmaVersion : ' latest' ,
12+ sourceType : ' module' ,
1313 ecmaFeatures : {
1414 jsx : true ,
1515 } ,
@@ -21,60 +21,56 @@ module.exports = {
2121 } ,
2222
2323 // Base config
24- extends : [ " eslint:recommended" ] ,
24+ extends : [ ' eslint:recommended' ] ,
2525
2626 overrides : [
2727 // React
2828 {
29- files : [ " **/*.{js,jsx,ts,tsx}" ] ,
30- plugins : [ " react" , " jsx-a11y" ] ,
29+ files : [ ' **/*.{js,jsx,ts,tsx}' ] ,
30+ plugins : [ ' react' , ' jsx-a11y' ] ,
3131 extends : [
32- " plugin:react/recommended" ,
33- " plugin:react/jsx-runtime" ,
34- " plugin:react-hooks/recommended" ,
35- " plugin:jsx-a11y/recommended" ,
32+ ' plugin:react/recommended' ,
33+ ' plugin:react/jsx-runtime' ,
34+ ' plugin:react-hooks/recommended' ,
35+ ' plugin:jsx-a11y/recommended' ,
3636 ] ,
3737 settings : {
3838 react : {
39- version : " detect" ,
39+ version : ' detect' ,
4040 } ,
41- formComponents : [ " Form" ] ,
41+ formComponents : [ ' Form' ] ,
4242 linkComponents : [
43- { name : " Link" , linkAttribute : "to" } ,
44- { name : " NavLink" , linkAttribute : "to" } ,
43+ { name : ' Link' , linkAttribute : 'to' } ,
44+ { name : ' NavLink' , linkAttribute : 'to' } ,
4545 ] ,
46- " import/resolver" : {
46+ ' import/resolver' : {
4747 typescript : { } ,
4848 } ,
4949 } ,
5050 } ,
5151
5252 // Typescript
5353 {
54- files : [ " **/*.{ts,tsx}" ] ,
55- plugins : [ " @typescript-eslint" , " import" ] ,
56- parser : " @typescript-eslint/parser" ,
54+ files : [ ' **/*.{ts,tsx}' ] ,
55+ plugins : [ ' @typescript-eslint' , ' import' ] ,
56+ parser : ' @typescript-eslint/parser' ,
5757 settings : {
58- " import/internal-regex" : " ^~/" ,
59- " import/resolver" : {
58+ ' import/internal-regex' : ' ^~/' ,
59+ ' import/resolver' : {
6060 node : {
61- extensions : [ " .ts" , " .tsx" ] ,
61+ extensions : [ ' .ts' , ' .tsx' ] ,
6262 } ,
6363 typescript : {
6464 alwaysTryTypes : true ,
6565 } ,
6666 } ,
6767 } ,
68- extends : [
69- "plugin:@typescript-eslint/recommended" ,
70- "plugin:import/recommended" ,
71- "plugin:import/typescript" ,
72- ] ,
68+ extends : [ 'plugin:@typescript-eslint/recommended' , 'plugin:import/recommended' , 'plugin:import/typescript' ] ,
7369 } ,
7470
7571 // Node
7672 {
77- files : [ " .eslintrc.cjs" , " server.js" ] ,
73+ files : [ ' .eslintrc.cjs' , ' server.js' ] ,
7874 env : {
7975 node : true ,
8076 } ,
0 commit comments