mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
add allow es6 to .jshintrc
This commit is contained in:
parent
f41959537b
commit
256f8e7226
@ -14,5 +14,6 @@
|
|||||||
//"expr": true, // allow ternery operator syntax...
|
//"expr": true, // allow ternery operator syntax...
|
||||||
"shadow": true, // allow variable shadowing (re-use of names...)
|
"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,
|
||||||
|
"esversion": 6 // allow es6
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user