Skip to content

Commit

Permalink
Update lint config to ignore destructured (...rest) siblings as unuse…
Browse files Browse the repository at this point in the history
…d vars
  • Loading branch information
ryanblakeley committed Jul 20, 2017
1 parent 94c4497 commit 885edc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc.js
Expand Up @@ -47,7 +47,7 @@ module.exports = {
'max-len': ['error', 120, 4],
'new-cap': ['off', {capIsNew: true, newIsCap: true}], // Wishlist, one day
'no-unused-expressions': 'error',
'no-unused-vars': 'error',
'no-unused-vars': ['error', {ignoreRestSiblings: true}],
'no-shadow': 'off', // Wishlist, one day
'no-spaced-func': 'error',
'no-multiple-empty-lines': 'error',
Expand Down

0 comments on commit 885edc3

Please sign in to comment.