@@ -5,44 +5,53 @@ module.exports = {
55 es2020 : true ,
66 node : true ,
77 } ,
8- parser : '@babel/eslint-parser' ,
9- extends : [ 'eslint:recommended' , 'standard' , 'plugin:import/errors' , 'prettier' ] ,
8+ extends : [
9+ "eslint:recommended" ,
10+ "standard" ,
11+ "plugin:import/errors" ,
12+ "prettier" ,
13+ ] ,
1014 parserOptions : {
11- ecmaVersion : 11 ,
12- requireConfigFile : 'false' ,
13- babelOptions : { configFile : './.babelrc' } ,
14- sourceType : 'module' ,
15+ ecmaVersion : 2022 ,
16+ requireConfigFile : "false" ,
17+ sourceType : "module" ,
1518 } ,
16- ignorePatterns : [ 'tmp/*' , '!/.*' , '/.next/' , 'script/bookmarklets/*' , 'rest-api-description/' ] ,
19+ ignorePatterns : [
20+ "tmp/*" ,
21+ "!/.*" ,
22+ "/.next/" ,
23+ "script/bookmarklets/*" ,
24+ "rest-api-description/" ,
25+ ] ,
1726 rules : {
18- ' import/no-extraneous-dependencies' : [ ' error' , { packageDir : '.' } ] ,
27+ " import/no-extraneous-dependencies" : [ " error" , { packageDir : "." } ] ,
1928 } ,
2029 overrides : [
2130 {
22- files : [ ' **/tests/**/*.js' ] ,
31+ files : [ " **/tests/**/*.js" ] ,
2332 env : {
2433 jest : true ,
2534 } ,
2635 } ,
2736 {
28- files : [ ' **/*.tsx' , ' **/*.ts' ] ,
29- plugins : [ ' @typescript-eslint' , ' jsx-a11y' ] ,
30- extends : [ ' plugin:jsx-a11y/recommended' ] ,
31- parser : ' @typescript-eslint/parser' ,
37+ files : [ " **/*.tsx" , " **/*.ts" ] ,
38+ plugins : [ " @typescript-eslint" , " jsx-a11y" ] ,
39+ extends : [ " plugin:jsx-a11y/recommended" ] ,
40+ parser : " @typescript-eslint/parser" ,
3241 rules : {
33- camelcase : ' off' ,
34- ' no-unused-vars' : ' off' ,
35- ' no-undef' : ' off' ,
36- ' no-use-before-define' : ' off' ,
37- ' @typescript-eslint/no-unused-vars' : [ ' error' ] ,
38- ' jsx-a11y/no-onchange' : ' off' ,
42+ camelcase : " off" ,
43+ " no-unused-vars" : " off" ,
44+ " no-undef" : " off" ,
45+ " no-use-before-define" : " off" ,
46+ " @typescript-eslint/no-unused-vars" : [ " error" ] ,
47+ " jsx-a11y/no-onchange" : " off" ,
3948 } ,
4049 } ,
4150 ] ,
4251 settings : {
43- ' import/resolver' : {
52+ " import/resolver" : {
4453 typescript : true ,
45- node : true
46- }
47- }
48- }
54+ node : true ,
55+ } ,
56+ } ,
57+ } ;
0 commit comments