Skip to content

Commit

Permalink
Rule change for ESLint to error on unused variables. (#1744)
Browse files Browse the repository at this point in the history
This effectively makes commits with an unused variable blocked.
  • Loading branch information
rogermparent authored Aug 31, 2020
1 parent 4a5fb51 commit c636ddc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
{ "prefixWithI": "always" }
],
"no-tabs": "error",
"react/prop-types": "off"
"react/prop-types": "off",
"@typescript-eslint/no-unused-vars": "error"
},
"overrides": [
{
Expand Down

0 comments on commit c636ddc

Please sign in to comment.