Skip to content

Commit

Permalink
Set env: es6: true
Browse files Browse the repository at this point in the history
Turns out that settings the `ecmaVersion: 2017` [does not auto-set
the environment for that version](eslint/eslint#8453).
This adds `es6: true` to the env so that we can support Promise.
  • Loading branch information
Matthew Herbst committed Apr 12, 2017
1 parent 876eeda commit 223c929
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ module.exports = {

env: {
browser: true,
es6: true,
node: true,
},

Expand Down

0 comments on commit 223c929

Please sign in to comment.