chore(@vant/cli): no longer provide stylelint (#10844)

This commit is contained in:
neverland
2022-07-23 21:41:38 +08:00
committed by GitHub
parent 537e629d7d
commit 11dbde14f6
18 changed files with 136 additions and 707 deletions
+2 -6
View File
@@ -10,7 +10,7 @@ Vant CLI is a tool for building vue component library. You can quickly build a f
- Provides rich commands covering the complete process from development to deploy
- Based on conventional directory structure. Generate elegant document website and component examples automatically.
- ESlint Stylelint built-in.
- ESlint built-in.
- Support Tree Shaking/Theme Customization/Import on Demand
### Quickstart
@@ -50,16 +50,12 @@ Please add the followed config to `package.json` file.
"nano-staged": {
"*.md": "prettier --write",
"*.{ts,tsx,js,vue,less,scss}": "prettier --write",
"*.{ts,tsx,js,vue}": "eslint --fix",
"*.{vue,css,less,scss}": "stylelint --fix"
"*.{ts,tsx,js,vue}": "eslint --fix"
},
"eslintConfig": {
"root": true,
"extends": ["@vant"]
},
"stylelint": {
"extends": ["@vant/stylelint-config"]
},
"prettier": {
"singleQuote": true
},