Parse with babel-eslint

Allows us to use the now-available es6 features without lint errors.
This commit is contained in:
Ray Schamp 2016-07-19 16:46:08 -04:00
parent 5b6a1fe8b9
commit 2065bc91a4
2 changed files with 3 additions and 5 deletions

View file

@ -1,4 +1,5 @@
{
"parser": "babel-eslint",
"rules": {
"curly": [2, "multi-line"],
"eol-last": [2],
@ -14,16 +15,12 @@
},
"env": {
"browser": true,
"es6": true,
"node": true
},
"globals": {
"formatMessage": true
},
"ecmaFeatures": {
"arrowFunctions": true,
"blockBindings": true,
"jsx": true
},
"plugins": [
"react",
"json"

View file

@ -34,6 +34,7 @@
"async": "1.5.2",
"autoprefixer": "6.3.6",
"babel-core": "6.10.4",
"babel-eslint": "5.0.4",
"babel-loader": "6.2.4",
"babel-preset-es2015": "6.9.0",
"babel-preset-react": "6.11.1",