Skip to content

Commit

Permalink
feat: update to eslint 9
Browse files Browse the repository at this point in the history
  • Loading branch information
shepherdjerred committed Jul 31, 2024
1 parent f20bf7a commit d19f8fc
Show file tree
Hide file tree
Showing 3 changed files with 327 additions and 423 deletions.
15 changes: 13 additions & 2 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,25 @@ export default tseslint.config(
{
languageOptions: {
parserOptions: {
project: true,
projectService: true,
tsconfigRootDir: import.meta.dirname,
},
},
},
{
rules: {
"@typescript-eslint/no-unused-vars": ["warn", { argsIgnorePattern: "^_" }],
"@typescript-eslint/no-unused-vars": [
"error",
{
args: "all",
argsIgnorePattern: "^_",
caughtErrors: "all",
caughtErrorsIgnorePattern: "^_",
destructuredArrayIgnorePattern: "^_",
varsIgnorePattern: "^_",
ignoreRestSiblings: true,
},
],
},
},
);
Loading

0 comments on commit d19f8fc

Please sign in to comment.