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 committed Oct 24, 2016
1 parent 6e5389e commit 6031d8e
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
Expand Up @@ -2,6 +2,9 @@ env:
node: true
es6: true

parserOptions:
ecmaVersion: 2016

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

0 comments on commit 6031d8e

Please sign in to comment.