File tree Expand file tree Collapse file tree 2 files changed +13
-11
lines changed
Expand file tree Collapse file tree 2 files changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -13,19 +13,15 @@ const eslintConfig =
1313 settings : { } ,
1414 parserOptions :
1515 {
16- ecmaVersion : 2018 ,
16+ ecmaVersion : 2022 ,
1717 sourceType : 'module' ,
1818 ecmaFeatures :
1919 {
2020 impliedStrict : true
2121 } ,
22- lib : [ 'es2018 ' ] ,
22+ lib : [ 'es2022 ' ] ,
2323 project : 'tsconfig.json'
2424 } ,
25- globals :
26- {
27- NodeJS : 'readonly'
28- } ,
2925 rules :
3026 {
3127 'array-bracket-spacing' : [ 2 , 'always' ,
@@ -44,6 +40,7 @@ const eslintConfig =
4440 'comma-style' : 2 ,
4541 'computed-property-spacing' : 2 ,
4642 'constructor-super' : 2 ,
43+ 'curly' : [ 2 , 'all' ] ,
4744 'func-call-spacing' : 2 ,
4845 'generator-star-spacing' : 2 ,
4946 'guard-for-in' : 2 ,
Original file line number Diff line number Diff line change 22 "compileOnSave" : true ,
33 "compilerOptions" :
44 {
5- "lib" : [ " es2018 " ],
6- "target" : " es2018 " ,
5+ "lib" : [ " es2021 " ],
6+ "target" : " es2020 " ,
77 "module" : " commonjs" ,
88 "moduleResolution" : " node" ,
9- "esModuleInterop" : true ,
10- "isolatedModules" : true ,
9+ "strict" : true ,
1110 "strict" : true ,
1211 "outDir" : " lib" ,
1312 "declaration" : true ,
1413 "declarationMap" : true
1514 },
16- "include" : [ " src" ]
15+ "include" : [ " src" ],
16+ "watchOptions" : {
17+ "watchFile" : " useFsEvents" ,
18+ "watchDirectory" : " useFsEvents" ,
19+ "fallbackPolling" : " dynamicPriority" ,
20+ "synchronousWatchDirectory" : true
21+ }
1722}
You can’t perform that action at this time.
0 commit comments