Skip to content

Commit f7f3699

Browse files
committed
ci: add eslint flat config file
1 parent bf5de94 commit f7f3699

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

eslint.config.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import js from '@eslint/js';
2+
3+
export default [
4+
js.configs.recommended,
5+
{
6+
languageOptions: {
7+
ecmaVersion: 2022,
8+
sourceType: 'module',
9+
},
10+
rules: {
11+
'no-unused-vars': ['warn', { argsIgnorePattern: '^_' }],
12+
'no-console': 'off',
13+
},
14+
},
15+
];

0 commit comments

Comments
 (0)