Skip to content

Commit

Permalink
chore: switch to a different ESLint config
Browse files Browse the repository at this point in the history
  • Loading branch information
sjinks committed Dec 14, 2024
1 parent 1d1fb5c commit cb770f2
Show file tree
Hide file tree
Showing 9 changed files with 4,117 additions and 568 deletions.
3 changes: 0 additions & 3 deletions .eslintignore

This file was deleted.

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

This file was deleted.

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

/** @type {import('eslint').Linter.Config[]} */
export default [
{
ignores: ['**/*.js', '**/*.d.ts', 'example/**'],
},
...MyrotvoretsConfig,
{
languageOptions: {
globals: {
...globals.node,
},
},
},
];
Loading

0 comments on commit cb770f2

Please sign in to comment.