mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
really tidy that .jshintrc
This commit is contained in:
parent
5394991e80
commit
94d18836c9
30
.jshintrc
30
.jshintrc
@ -1,19 +1,15 @@
|
|||||||
{
|
{
|
||||||
"asi": true, // allow missing semicolons
|
"asi": true,
|
||||||
"curly": true, // require braces
|
"curly": true,
|
||||||
"eqnull": true, // ignore ==null
|
"eqnull": true,
|
||||||
//"eqeqeq": true, // enforce ===
|
"freeze": true,
|
||||||
"freeze": true, // don't allow override
|
"indent": 4,
|
||||||
"indent": 4, // default indent of 4
|
"forin": true,
|
||||||
"forin": true, // require property filtering in "for in" loops
|
"immed": true,
|
||||||
"immed": true, // require immediate functions to be wrapped in ( )
|
"nonbsp": true,
|
||||||
"nonbsp": true, // warn on unexpected whitespace breaking chars
|
"loopfunc": true,
|
||||||
//"strict": true, // commented out for now as it causes 100s of warnings, but want to get there eventually
|
"shadow": true,
|
||||||
//"unused": true, // Check for unused functions and variables
|
"sub": true,
|
||||||
"loopfunc": true, // allow functions to be defined in loops
|
"proto": true,
|
||||||
//"expr": true, // allow ternery operator syntax...
|
"esversion": 6
|
||||||
"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
|
|
||||||
"esversion": 6 // allow es6
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user