1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

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

View File

@ -12,6 +12,7 @@
//"unused": true, // Check for unused functions and variables //"unused": true, // Check for unused functions and variables
"loopfunc": true, // allow functions to be defined in loops "loopfunc": true, // allow functions to be defined in loops
//"expr": true, // allow ternery operator syntax... //"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 "sub": true, // don't warn that foo['bar'] should be written as foo.bar
"proto": true // allow setting of __proto__ in node < v0.12 "proto": true // allow setting of __proto__ in node < v0.12
} }