Skip to content

Commit

Permalink
Fixed broken .eslintrc, changed ecmaVersion to 2017
Browse files Browse the repository at this point in the history
There was a erroneous reference to babel-eslint plugin (which was not in package.json deps, so it never worked anyways). By changing ecmaVersion to 2017 we get async/await support, if you update your globally-installed eslint to latest version.

Also removed unneeded "html" plugin (which was not in package.json deps) and "jsx" feature (we dont use that).
  • Loading branch information
xpl authored Sep 7, 2017
1 parent bed958e commit 0782845
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
{
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
"ecmaVersion": 2017,
"sourceType": "module"
},
"parser": "babel-eslint",
"rules": {
"strict": 0
},
"plugins": [
"html"
]
}
}
}

0 comments on commit 0782845

Please sign in to comment.