Skip to content

Commit

Permalink
Only unused variables in underscore allowed by exception
Browse files Browse the repository at this point in the history
Signed-off-by: 8845musign <hiroki.yokouchi@dr-ubie.com>
  • Loading branch information
8845musign committed Apr 25, 2024
1 parent 70c9ea0 commit 62a3bc5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,14 @@ module.exports = {
'unused-imports/no-unused-imports': 'error',
'import/no-unresolved': 'off',
'no-console': 'error',
"@typescript-eslint/no-unused-vars": [
"error",
{
"argsIgnorePattern": "_",
"varsIgnorePattern": "_",
"caughtErrorsIgnorePattern": "_",
"destructuredArrayIgnorePattern": "_"
}
]
},
};
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
Expand Down

0 comments on commit 62a3bc5

Please sign in to comment.