Skip to content

Commit

Permalink
preparing eslint v9
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaswittig committed Dec 11, 2024
1 parent c3e7caa commit c214b35
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions test/eslint.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
const globals = require('globals');

module.exports = [{
languageOptions: {
globals: globals.node,
ecmaVersion: 2017,
sourceType: 'commonjs',
},

rules: {
indent: ['error', 2],
'linebreak-style': ['error', 'unix'],
quotes: ['error', 'single'],
semi: ['error', 'always'],
},
}];

0 comments on commit c214b35

Please sign in to comment.