mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
eslint amber
This commit is contained in:
+1
-2
@@ -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
@@ -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"]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user