Skip to content

Commit

Permalink
chore: migrate to eslint@9
Browse files Browse the repository at this point in the history
  • Loading branch information
redonkulus committed Apr 8, 2024
1 parent bde78a9 commit 697dd6e
Show file tree
Hide file tree
Showing 5 changed files with 127 additions and 134 deletions.
5 changes: 0 additions & 5 deletions .eslintignore

This file was deleted.

13 changes: 0 additions & 13 deletions .eslintrc

This file was deleted.

24 changes: 24 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import js from '@eslint/js';
import globals from 'globals';

export default [
js.configs.recommended,
{
languageOptions: {
ecmaVersion: 2023,
globals: {
...globals.node,
...globals.mocha,
},
},
rules: {
indent: [2, 4, { SwitchCase: 1 }],
quotes: [0, 'single'],
'dot-notation': [2, { allowKeywords: false }],
'no-console': 0,
'no-prototype-builtins': 0,
'no-unexpected-multiline': 0,
},
ignores: ['artifacts', 'node_modules', '**/artifacts', '**/node_modules'],
},
];
Loading

0 comments on commit 697dd6e

Please sign in to comment.