chore: split lint config files

This commit is contained in:
chenjiahan
2020-12-01 19:41:10 +08:00
parent 7749589d06
commit b71cada198
6 changed files with 13 additions and 20 deletions
-16
View File
@@ -16,7 +16,6 @@
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"bootstrap": "yarn || npm i",
"dev": "vant-cli dev",
"lint": "vant-cli lint",
"test": "vant-cli test",
@@ -82,21 +81,6 @@
"attributes": "vetur/attributes.json"
},
"web-types": "vetur/web-types.json",
"eslintConfig": {
"root": true,
"extends": [
"@vant"
]
},
"stylelint": {
"extends": [
"@vant/stylelint-config"
]
},
"prettier": {
"singleQuote": true,
"proseWrap": "never"
},
"browserslist": [
"Android >= 4.0",
"iOS >= 8"