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
1 changed files with 2 additions and 1 deletions

View File

@ -14,5 +14,6 @@
//"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
"proto": true // allow setting of __proto__ in node < v0.12
"proto": true, // allow setting of __proto__ in node < v0.12,
"esversion": 6 // allow es6
}