allow shadowing in .jshintrc (mainly to test signing commits)

This commit is contained in:
Dave Conway-Jones 2017-04-06 11:12:11 +01:00
parent 262db23f7d
commit 203539841d
No known key found for this signature in database
GPG Key ID: 81B04231572A9A2D
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@
//"unused": true, // Check for unused functions and variables
"loopfunc": true, // allow functions to be defined in loops
//"expr": true, // allow ternery operator syntax...
"shadow": true, // allow variable shadowing (re-use of names...)
"sub": true, // don't warn that foo['bar'] should be written as foo.bar
"proto": true // allow setting of __proto__ in node < v0.12
}