mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-02-13 07:36:21 +00:00
update eslint rules
This commit is contained in:
parent
a71a77494a
commit
7b8e263ac2
@ -4,14 +4,23 @@
|
||||
"es6": true,
|
||||
"node": true
|
||||
},
|
||||
"extends": "eslint:recommended",
|
||||
"extends": [
|
||||
"eslint:recommended",
|
||||
"plugin:react/recommended"
|
||||
],
|
||||
"parserOptions": {
|
||||
"sourceType": "module",
|
||||
"ecmaVersion": 2017
|
||||
"ecmaVersion": 2017,
|
||||
"ecmaFeatures": {
|
||||
"jsx": true
|
||||
}
|
||||
},
|
||||
"globals": {
|
||||
"__": true
|
||||
},
|
||||
"plugins": [
|
||||
"react"
|
||||
],
|
||||
"rules": {
|
||||
"accessor-pairs": "error",
|
||||
"array-bracket-newline": "error",
|
||||
@ -111,6 +120,7 @@
|
||||
"no-confusing-arrow": "error",
|
||||
"no-console": "off",
|
||||
"no-continue": "off",
|
||||
"no-debugger": "warn",
|
||||
"no-div-regex": "error",
|
||||
"no-duplicate-imports": "error",
|
||||
"no-else-return": "off",
|
||||
@ -241,7 +251,7 @@
|
||||
"error",
|
||||
"last"
|
||||
],
|
||||
"sort-imports": "error",
|
||||
"sort-imports": "off",
|
||||
"sort-keys": "off",
|
||||
"sort-vars": "off",
|
||||
"space-before-blocks": "off",
|
||||
|
@ -108,6 +108,7 @@
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"eslint": "4.13.1",
|
||||
"eslint-plugin-react": "^7.10.0",
|
||||
"mocha-sinon": "^1.1.4",
|
||||
"sinon": "^4.5.0",
|
||||
"chai": "4.1.2"
|
||||
|
Loading…
x
Reference in New Issue
Block a user