mirror of
https://gitee.com/fantastic-admin/basic.git
synced 2024-12-01 19:48:15 +08:00
更新 stylelint 相关依赖和配置
This commit is contained in:
parent
7978a86d09
commit
ec4ac08055
@ -1,7 +1,14 @@
|
|||||||
{
|
{
|
||||||
"extends": [
|
"extends": [
|
||||||
"stylelint-config-standard",
|
"stylelint-config-standard",
|
||||||
"stylelint-config-recommended-scss"
|
"stylelint-config-recommended-scss",
|
||||||
|
"stylelint-config-recommended-vue"
|
||||||
|
],
|
||||||
|
"overrides": [
|
||||||
|
{
|
||||||
|
"files": ["**/*.scss"],
|
||||||
|
"customSyntax": "postcss-scss"
|
||||||
|
}
|
||||||
],
|
],
|
||||||
"plugins": [
|
"plugins": [
|
||||||
"stylelint-scss"
|
"stylelint-scss"
|
||||||
|
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@ -2,5 +2,6 @@
|
|||||||
"editor.codeActionsOnSave": {
|
"editor.codeActionsOnSave": {
|
||||||
"source.fixAll.eslint": true,
|
"source.fixAll.eslint": true,
|
||||||
"source.fixAll.stylelint": true
|
"source.fixAll.stylelint": true
|
||||||
}
|
},
|
||||||
|
"stylelint.validate": ["css", "scss", "vue"]
|
||||||
}
|
}
|
||||||
|
@ -41,9 +41,13 @@
|
|||||||
"husky": "^7.0.4",
|
"husky": "^7.0.4",
|
||||||
"lint-staged": "^11.2.3",
|
"lint-staged": "^11.2.3",
|
||||||
"plop": "^2.7.6",
|
"plop": "^2.7.6",
|
||||||
|
"postcss-scss": "^4.0.1",
|
||||||
"sass": "^1.43.3",
|
"sass": "^1.43.3",
|
||||||
"stylelint": "^13.13.1",
|
"stylelint": "^14.0.0",
|
||||||
|
"stylelint-config-html": "^0.0.2",
|
||||||
|
"stylelint-config-recommended": "^6.0.0",
|
||||||
"stylelint-config-recommended-scss": "^4.3.0",
|
"stylelint-config-recommended-scss": "^4.3.0",
|
||||||
|
"stylelint-config-recommended-vue": "^0.0.5",
|
||||||
"stylelint-config-standard": "^22.0.0",
|
"stylelint-config-standard": "^22.0.0",
|
||||||
"stylelint-scss": "^3.21.0",
|
"stylelint-scss": "^3.21.0",
|
||||||
"svgo": "^2.7.0",
|
"svgo": "^2.7.0",
|
||||||
|
763
pnpm-lock.yaml
763
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user