Skip to content

Commit 386030b

Browse files
TrottFishrock123
authored andcommittedJan 6, 2016
tools: implement no-unused-vars for eslint
PR-URL: #4536 Reviewed-By: Rod Vagg <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 4b14f1c commit 386030b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎.eslintrc

+2
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ rules:
8484
# list: https://github.com/eslint/eslint/tree/master/docs/rules#variables
8585
## disallow use of undefined variables (globals)
8686
no-undef: 2
87+
## disallow declaration of variables that are not used in the code
88+
no-unused-vars: [2, {"args": "none"}]
8789

8890
# Custom rules in tools/eslint-rules
8991
require-buffer: 2

0 commit comments

Comments
 (0)
Please sign in to comment.