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
node_js:
- '9'
install: npm i -g eslint eslint-config-aqua eslint-plugin-json
test: npm test
install: npm i -g eslint eslint-config-amber eslint-plugin-json
+3 -12
View File
@@ -49,20 +49,11 @@
},
"devDependencies": {
"eslint": "^4.19.0",
"eslint-config-aqua": "^3.0.0",
"eslint-config-amber": "^1.0.0",
"eslint-plugin-json": "^1.2.0"
},
"eslintConfig": {
"extends": "aqua",
"plugins": [
"json"
],
"rules": {
"camelcase": "off",
"id-length": "off",
"no-await-in-loop": "off",
"no-console": "off",
"prefer-const": "error"
}
"extends": "amber",
"plugins": ["json"]
}
}