Skip to content

Commit

Permalink
tools: enable ES2016 syntax support in ESLint
Browse files Browse the repository at this point in the history
This allows us to use the exponentiation operator.

PR-URL: #9218
Ref: #9208 (comment)
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>
  • Loading branch information
targos authored and MylesBorins committed Nov 19, 2016
1 parent 60704fb commit a120199
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -2,6 +2,9 @@ env:
node: true
es6: true

parserOptions:
ecmaVersion: 2016

rules:
# Possible Errors
# http://eslint.org/docs/rules/#possible-errors

0 comments on commit a120199

Please sign in to comment.