make eslint work and update yoda config
This commit is contained in:
parent
c90460802e
commit
dbc2ff75df
2 changed files with 7 additions and 1 deletions
|
@ -11,5 +11,8 @@ module.exports = {
|
||||||
"promise",
|
"promise",
|
||||||
"standard",
|
"standard",
|
||||||
"react"
|
"react"
|
||||||
]
|
],
|
||||||
|
"rules": {
|
||||||
|
"yoda": [2, "never", { "exceptRange": true }]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,7 +40,10 @@
|
||||||
"babel-eslint": "^6.1.2",
|
"babel-eslint": "^6.1.2",
|
||||||
"chai": "^3.5.0",
|
"chai": "^3.5.0",
|
||||||
"eslint": "^3.5.0",
|
"eslint": "^3.5.0",
|
||||||
|
"eslint-config-standard": "^6.2.0",
|
||||||
|
"eslint-plugin-promise": "^2.0.1",
|
||||||
"eslint-plugin-react": "^6.3.0",
|
"eslint-plugin-react": "^6.3.0",
|
||||||
|
"eslint-plugin-standard": "^2.0.1",
|
||||||
"mocha": "^3.0.2"
|
"mocha": "^3.0.2"
|
||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
|
|
Loading…
Reference in a new issue