Skip to content

Commit

Permalink
Add lint rule for unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
jgm committed Jan 9, 2020
1 parent cd03322 commit 5c5623a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions eslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
"node": true
},
"rules": {
"no-unused-vars": ["error",
{ "vars": "all",
"args": "after-used",
"ignoreRestSiblings": false }],
"no-constant-condition": 0,
"no-underscore-dangle": 0,
"camelcase": 0,
Expand Down

0 comments on commit 5c5623a

Please sign in to comment.