Skip to content

Commit

Permalink
update eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
metastable-void committed Sep 24, 2024
1 parent 31f166d commit 8001c5c
Show file tree
Hide file tree
Showing 19 changed files with 260 additions and 244 deletions.
19 changes: 19 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,25 @@ export default tseslint.config(
{
ignores: ["**/static/**", "**/scripts/**", "**/scripts-src/**"],
},
{
linterOptions: {
reportUnusedDisableDirectives: "off",
},
rules: {
"@typescript-eslint/no-unused-vars": [
"error",
{
"args": "all",
"argsIgnorePattern": "^_",
"caughtErrors": "all",
"caughtErrorsIgnorePattern": "^_",
"destructuredArrayIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"ignoreRestSiblings": true
}
]
}
},
eslint.configs.recommended,
...tseslint.configs.recommended,
);
Loading

0 comments on commit 8001c5c

Please sign in to comment.