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:
parent
262db23f7d
commit
203539841d
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user