chore: gather config (#4951)

This commit is contained in:
neverland 2019-11-07 10:25:01 +08:00 committed by GitHub
parent 6ff5c93cd1
commit 7fc5fb7f5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 12 deletions

View File

@ -1,4 +0,0 @@
{
"root": true,
"extends": ["@vant"]
}

View File

@ -1,5 +0,0 @@
{
"printWidth": 90,
"singleQuote": true,
"trailingComma": "none"
}

View File

@ -1,3 +0,0 @@
{
"extends": ["@vant/stylelint-config"]
}

View File

@ -124,6 +124,20 @@
"tags": "vetur/tags.json",
"attributes": "vetur/attributes.json"
},
"eslintConfig": {
"root": true,
"extends": [
"@vant"
]
},
"stylelint": {
"extends": [
"@vant/stylelint-config"
]
},
"prettier": {
"singleQuote": true
},
"browserslist": [
"Android >= 4.0",
"iOS >= 7"