update eslint and eslintrc to not get sad when parsiing async (#3265)

Signed-off-by: Max <mhelmetag@gmail.com>
This commit is contained in:
Max Helmetag 2017-11-06 18:02:12 -08:00 коммит произвёл French Ben
Родитель b2f0230de5
Коммит 36449747e9
2 изменённых файлов: 7 добавлений и 9 удалений

Просмотреть файл

@ -3,11 +3,9 @@ root: true
plugins:
- react
ecmaFeatures:
modules: true
jsx: true
arrowFunctions: true
blockBindings: true
parserOptions:
ecmaVersion: 2017
sourceType: module
env:
node: true
@ -101,10 +99,8 @@ rules:
# Previously on by default in node environment
no-catch-shadow: 0
no-console: 0
no-mixed-requires: 2
no-new-require: 2
no-path-concat: 2
no-process-exit: 2
global-strict: [0, "always"]
handle-callback-err: [2, "err"]

Просмотреть файл

@ -21,7 +21,9 @@
},
"license": "Apache-2.0",
"electron-version": "0.35.4",
"engines" : { "node" : "4.1.1" },
"engines": {
"node": "4.1.1"
},
"dependencies": {
"alt": "^0.16.2",
"ansi-to-html": "0.3.0",
@ -59,7 +61,7 @@
"babel": "^5.8.23",
"babel-jest": "^5.2.0",
"electron-prebuilt": "^0.36",
"eslint": "^1.3.1",
"eslint": "^4.1.1",
"eslint-plugin-react": "^3.3.0",
"grunt": "^0.4.5",
"grunt-babel": "^5.0.1",