Skip to content

Commit

Permalink
Merge pull request #532 from matrix-org/rav/eslint_es6
Browse files Browse the repository at this point in the history
Add es6 to eslint environments
  • Loading branch information
dbkr authored Sep 7, 2017
2 parents 22b213a + 17364e7 commit e07b304
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ module.exports = {
env: {
browser: true,
node: true,

// babel's transform-runtime converts references to ES6 globals such as
// Promise and Map to core-js polyfills, so we can use ES6 globals.
es6: true,
},
extends: ["eslint:recommended", "google"],
rules: {
Expand Down

0 comments on commit e07b304

Please sign in to comment.