Skip to content

Commit d676a01

Browse files
committed
preparing eslint v9
1 parent ec4edb7 commit d676a01

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

test/eslint.config.cjs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
const globals = require('globals');
2+
3+
module.exports = [{
4+
languageOptions: {
5+
globals: globals.node,
6+
ecmaVersion: 2017,
7+
sourceType: 'commonjs',
8+
},
9+
10+
rules: {
11+
indent: ['error', 2],
12+
'linebreak-style': ['error', 'unix'],
13+
quotes: ['error', 'single'],
14+
semi: ['error', 'always'],
15+
},
16+
}];

0 commit comments

Comments
 (0)