Skip to content

Commit

Permalink
chore: eslint 9 (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
redonkulus authored Apr 8, 2024
1 parent 6dd10a5 commit 384f84f
Show file tree
Hide file tree
Showing 5 changed files with 126 additions and 117 deletions.
4 changes: 0 additions & 4 deletions .eslintignore

This file was deleted.

12 changes: 0 additions & 12 deletions .eslintrc

This file was deleted.

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

export default [
js.configs.recommended,
{
languageOptions: {
ecmaVersion: 2023,
globals: {
...globals.node,
},
},
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 384f84f

Please sign in to comment.