Skip to content

Commit

Permalink
Upgrade ESLint and friends
Browse files Browse the repository at this point in the history
  • Loading branch information
ultraq committed Dec 22, 2024
1 parent fe65888 commit 3ef0fe2
Show file tree
Hide file tree
Showing 5 changed files with 2,398 additions and 3,623 deletions.
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

15 changes: 0 additions & 15 deletions .eslintrc.json

This file was deleted.

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

/**
* @type {import('eslint').Linter.Config[]}
*/
export default [
...myConfig,
{
ignores: [
'coverage/**/*',
'dist/**/*'
]
},
{
languageOptions: {
ecmaVersion: 2022,
globals: {
...globals.browser,
...globals.jest,
...globals.node
},
sourceType: 'module'
}
}
];
Loading

0 comments on commit 3ef0fe2

Please sign in to comment.