mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-26 17:16:11 -05:00
Parse with babel-eslint
Allows us to use the now-available es6 features without lint errors.
This commit is contained in:
parent
5b6a1fe8b9
commit
2065bc91a4
2 changed files with 3 additions and 5 deletions
|
@ -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"
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue