1
0
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:
Dave Conway-Jones 2017-06-23 21:49:35 +01:00
parent f41959537b
commit 256f8e7226
No known key found for this signature in database
GPG Key ID: 81B04231572A9A2D

View File

@ -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
} }