tools: enable ES2016 syntax support in ESLint

This allows us to use the exponentiation operator.

PR-URL: https://github.com/nodejs/node/pull/9218
Ref: https://github.com/nodejs/node/pull/9208#issuecomment-255309920
Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
This commit is contained in:
Michaël Zasso authored and James M Snell committed 2016-10-24 11:33:13 -07:00
1 parent 5e3a480ad5
commit 827660e03e
1 file changed
+3
+3
View File
@@ -2,6 +2,9 @@ env:
node: true
es6: true
parserOptions:
ecmaVersion: 2016
rules:
# Possible Errors
# http://eslint.org/docs/rules/#possible-errors