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 } ,
@@ -19,63 +19,63 @@ module.exports = {
1919 commonjs : true ,
2020 es6 : true ,
2121 } ,
22- ignorePatterns : [ " !**/.server" , " !**/.client" ] ,
22+ ignorePatterns : [ ' !**/.server' , ' !**/.client' ] ,
2323
2424 // Base config
25- extends : [ " eslint:recommended" ] ,
25+ extends : [ ' eslint:recommended' ] ,
2626
2727 overrides : [
2828 // React
2929 {
30- files : [ " **/*.{js,jsx,ts,tsx}" ] ,
31- plugins : [ " react" , " jsx-a11y" ] ,
30+ files : [ ' **/*.{js,jsx,ts,tsx}' ] ,
31+ plugins : [ ' react' , ' jsx-a11y' ] ,
3232 extends : [
33- " plugin:react/recommended" ,
34- " plugin:react/jsx-runtime" ,
35- " plugin:react-hooks/recommended" ,
36- " plugin:jsx-a11y/recommended" ,
33+ ' plugin:react/recommended' ,
34+ ' plugin:react/jsx-runtime' ,
35+ ' plugin:react-hooks/recommended' ,
36+ ' plugin:jsx-a11y/recommended' ,
3737 ] ,
3838 settings : {
3939 react : {
40- version : " detect" ,
40+ version : ' detect' ,
4141 } ,
42- formComponents : [ " Form" ] ,
42+ formComponents : [ ' Form' ] ,
4343 linkComponents : [
44- { name : " Link" , linkAttribute : "to" } ,
45- { name : " NavLink" , linkAttribute : "to" } ,
44+ { name : ' Link' , linkAttribute : 'to' } ,
45+ { name : ' NavLink' , linkAttribute : 'to' } ,
4646 ] ,
47- " import/resolver" : {
47+ ' import/resolver' : {
4848 typescript : { } ,
4949 } ,
5050 } ,
5151 } ,
5252
5353 // Typescript
5454 {
55- files : [ " **/*.{ts,tsx}" ] ,
56- plugins : [ " @typescript-eslint" , " import" ] ,
57- parser : " @typescript-eslint/parser" ,
55+ files : [ ' **/*.{ts,tsx}' ] ,
56+ plugins : [ ' @typescript-eslint' , ' import' ] ,
57+ parser : ' @typescript-eslint/parser' ,
5858 settings : {
59- " import/internal-regex" : " ^~/" ,
60- " import/resolver" : {
59+ ' import/internal-regex' : ' ^~/' ,
60+ ' import/resolver' : {
6161 node : {
62- extensions : [ " .ts" , " .tsx" ] ,
62+ extensions : [ ' .ts' , ' .tsx' ] ,
6363 } ,
6464 typescript : {
6565 alwaysTryTypes : true ,
6666 } ,
6767 } ,
6868 } ,
6969 extends : [
70- " plugin:@typescript-eslint/recommended" ,
71- " plugin:import/recommended" ,
72- " plugin:import/typescript" ,
70+ ' plugin:@typescript-eslint/recommended' ,
71+ ' plugin:import/recommended' ,
72+ ' plugin:import/typescript' ,
7373 ] ,
7474 } ,
7575
7676 // Node
7777 {
78- files : [ " .eslintrc.cjs" ] ,
78+ files : [ ' .eslintrc.cjs' ] ,
7979 env : {
8080 node : true ,
8181 } ,
0 commit comments