File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -13,16 +13,17 @@ const config = [
1313 ignores : [ 'node_modules' , 'dist' ] ,
1414 env : { node : true } ,
1515 languageOptions : {
16- ecmaVersion : 2020 ,
16+ ecmaVersion : 2022 ,
1717 sourceType : 'script' ,
1818 parser : tsParser ,
1919 parserOptions : {
20- ecmaVersion : 2020 ,
20+ ecmaVersion : 2022 ,
2121 sourceType : 'module' ,
2222 } ,
2323 globals : {
2424 ...globals . browser ,
2525 ...globals . node ,
26+ ...globals . jest ,
2627 ...globals . es2020 ,
2728 } ,
2829 } ,
@@ -69,8 +70,8 @@ const config = [
6970 } ,
7071 } ,
7172 new FlatESLint ( ) ,
72- { rules : jestPlugin . configs . recommended . rules , } ,
73- // nodePlugin.configs.recommended,
73+ { rules : jestPlugin . configs . recommended . rules } ,
74+ // {rules: nodePlugin.configs.recommended.rules} ,
7475] ;
7576
7677export default config ;
You can’t perform that action at this time.
0 commit comments