Skip to content

Commit

Permalink
tools: implement no-unused-vars for eslint
Browse files Browse the repository at this point in the history
PR-URL: #4536
Reviewed-By: Rod Vagg <rod@vagg.org>
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
Trott authored and Fishrock123 committed Jan 6, 2016
1 parent 4b14f1c commit 386030b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .eslintrc
Expand Up @@ -84,6 +84,8 @@ rules:
# list: https://github.com/eslint/eslint/tree/master/docs/rules#variables
## disallow use of undefined variables (globals)
no-undef: 2
## disallow declaration of variables that are not used in the code
no-unused-vars: [2, {"args": "none"}]

# Custom rules in tools/eslint-rules
require-buffer: 2
Expand Down

0 comments on commit 386030b

Please sign in to comment.