Skip to content

Commit

Permalink
Make eslint rule an error instead of a warning
Browse files Browse the repository at this point in the history
This will `@typescript-eslint/no-unused-vars` an error instead of a warning. It's helpful for the rule to error so that the build will fail so that you don't have to check the logs to see if there was a warning. See mrdoob#20467 for context.
  • Loading branch information
Methuselah96 authored Oct 8, 2020
1 parent 63ecf2b commit c8db16c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@typescript-eslint"
],
"rules": {
"@typescript-eslint/no-unused-vars": 1,
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/indent": [
"error",
"tab",
Expand Down

0 comments on commit c8db16c

Please sign in to comment.