Skip to content

Commit 448b30e

Browse files
committed
tooling upgrades
1 parent 4f4f8c6 commit 448b30e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

eslint.config.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff 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

7677
export default config;

0 commit comments

Comments
 (0)