Skip to content

Commit 478cbde

Browse files
committed
Upgrade ESlint config from deprecated one to flat config
1 parent 67891b4 commit 478cbde

File tree

3 files changed

+119
-1413
lines changed

3 files changed

+119
-1413
lines changed

eslint.config.js

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import js from '@eslint/js';
2+
import globals from 'globals';
3+
4+
export default [
5+
js.configs.recommended,
6+
{
7+
languageOptions: {
8+
globals: {
9+
...globals.node,
10+
},
11+
parserOptions: {
12+
ecmaVersion: 'latest',
13+
},
14+
},
15+
},
16+
];

0 commit comments

Comments
 (0)