Skip to content

Commit

Permalink
Add missing options for unused
Browse files Browse the repository at this point in the history
  • Loading branch information
karlhorky committed Apr 5, 2015
1 parent 12811e7 commit 3be589a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion examples/.jshintrc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@
// "single" : require single quotes
// "double" : require double quotes
"undef" : true, // true: Require all non-global variables to be declared (prevents global leaks)
"unused" : true, // true: Require all defined variables be used
"unused" : true, // Unused variables:
// true : all variables, last function parameter
// "vars" : all variables only
// "strict" : all variables, all function parameters
"strict" : true, // true: Requires all functions run in ES5 Strict Mode
"maxparams" : false, // {int} Max number of formal params allowed per function
"maxdepth" : false, // {int} Max depth of nested blocks (within functions)
Expand Down

0 comments on commit 3be589a

Please sign in to comment.