зеркало из
1
0
Форкнуть 0
This commit is contained in:
Peter deHaan 2017-01-16 14:25:25 -08:00
Родитель 3009e855ae
Коммит 818658cc9c
2 изменённых файлов: 15 добавлений и 0 удалений

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

@ -8,12 +8,26 @@ module.exports = {
"extends": [
"eslint:recommended"
],
"plugins": [
"promise"
],
"root": true,
"rules": {
"promise/always-return": "off",
"promise/avoid-new": "off",
"promise/catch-or-return": "error",
"promise/no-callback-in-promise": "warn",
"promise/no-native": "off",
"promise/no-nesting": "warn",
"promise/no-promise-in-callback": "warn",
"promise/no-return-wrap": "error",
"promise/param-names": "error",
"eqeqeq": "error",
"indent": ["error", 2],
"linebreak-style": ["error", "unix"],
"no-throw-literal": "error",
"no-warning-comments": "warn",
"quotes": ["error", "double"],
"radix": "error",
"semi": ["error", "always"]

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

@ -11,6 +11,7 @@
"devDependencies": {
"addons-linter": "^0.15.14",
"eslint": "^3.12.2",
"eslint-plugin-promise": "^3.4.0",
"jpm": "^1.2.2",
"npm-run-all": "^4.0.0"
},