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