Skip to content

Commit

Permalink
fix: allow unused underscore in eslint (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
blidblid authored Mar 12, 2023
1 parent 8945a8a commit f75ef7f
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,16 @@
{
"files": ["*.ts", "*.tsx"],
"extends": ["plugin:@nrwl/nx/typescript"],
"rules": {}
"rules": {
"@typescript-eslint/no-unused-vars": [
"warn",
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_"
}
]
}
},
{
"files": ["*.js", "*.jsx"],
Expand Down

0 comments on commit f75ef7f

Please sign in to comment.