Skip to content

Commit

Permalink
chore: Update ESLint configuration
Browse files Browse the repository at this point in the history
Change overrides in ESLint
  • Loading branch information
petarvujovic98 committed Sep 19, 2022
1 parent e8093da commit cedd904
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,17 @@ module.exports = {
project: ["./tsconfig.json", "./**/{t,j}sconfig.json"],
},
plugins: ["@typescript-eslint"],
rules: {
"@typescript-eslint/no-unused-vars": [
"warn",
{
varsIgnorePattern: "^_",
argsIgnorePattern: "^_",
destructuredArrayIgnorePattern: "^_",
caughtErrorsIgnorePattern: "^_",
},
],
},
},
],
ignorePatterns: ["./**/node_modules", "node_modules", "./**/lib", "lib"],
Expand Down

0 comments on commit cedd904

Please sign in to comment.