eslint amber

This commit is contained in:
Daniel Odendahl Jr
2018-03-28 22:32:34 +00:00
parent a8f8882d01
commit c7f969fcf9
2 changed files with 4 additions and 14 deletions
+1 -2
View File
@@ -2,5 +2,4 @@ sudo: false
language: node_js language: node_js
node_js: node_js:
- '9' - '9'
install: npm i -g eslint eslint-config-aqua eslint-plugin-json install: npm i -g eslint eslint-config-amber eslint-plugin-json
test: npm test
+3 -12
View File
@@ -49,20 +49,11 @@
}, },
"devDependencies": { "devDependencies": {
"eslint": "^4.19.0", "eslint": "^4.19.0",
"eslint-config-aqua": "^3.0.0", "eslint-config-amber": "^1.0.0",
"eslint-plugin-json": "^1.2.0" "eslint-plugin-json": "^1.2.0"
}, },
"eslintConfig": { "eslintConfig": {
"extends": "aqua", "extends": "amber",
"plugins": [ "plugins": ["json"]
"json"
],
"rules": {
"camelcase": "off",
"id-length": "off",
"no-await-in-loop": "off",
"no-console": "off",
"prefer-const": "error"
}
} }
} }