Skip to content

Commit

Permalink
chore: migrate to eslint v9
Browse files Browse the repository at this point in the history
  • Loading branch information
pmstss committed Aug 27, 2024
1 parent 3d50d0e commit 48d47f5
Show file tree
Hide file tree
Showing 6 changed files with 540 additions and 651 deletions.
23 changes: 0 additions & 23 deletions .eslintrc.js

This file was deleted.

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

export default tseslint.config(
eslint.configs.recommended,
...tseslint.configs.strict,
{
ignores: ["**/charts", "**/dist", "**/client"],
},
{
rules: {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-extraneous-class": ["error", {
allowWithDecorator: true
}]
}
}
);
Loading

0 comments on commit 48d47f5

Please sign in to comment.