allow es6 linting

This commit is contained in:
Dave Conway-Jones 2017-06-24 12:16:55 +01:00
parent d39e033409
commit 1c30807be8
No known key found for this signature in database
GPG Key ID: 81B04231572A9A2D
1 changed files with 2 additions and 1 deletions

View File

@ -13,5 +13,6 @@
"loopfunc": true, // allow functions to be defined in loops
//"expr": true, // allow ternery operator syntax...
"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
}