更新 stylelint 相关依赖和配置

This commit is contained in:
hooray 2021-10-23 15:15:22 +08:00
parent 0d4eec44c7
commit 10cd51cba7
4 changed files with 123 additions and 598 deletions

View File

@ -1,7 +1,14 @@
{
"extends": [
"stylelint-config-standard",
"stylelint-config-recommended-scss"
"stylelint-config-recommended-scss",
"stylelint-config-recommended-vue"
],
"overrides": [
{
"files": ["**/*.scss"],
"customSyntax": "postcss-scss"
}
],
"plugins": [
"stylelint-scss"

View File

@ -2,5 +2,6 @@
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
"source.fixAll.stylelint": true
}
},
"stylelint.validate": ["css", "scss", "vue"]
}

View File

@ -43,9 +43,13 @@
"husky": "^7.0.4",
"lint-staged": "^11.2.3",
"plop": "^2.7.6",
"postcss-scss": "^4.0.1",
"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-vue": "^0.0.5",
"stylelint-config-standard": "^22.0.0",
"stylelint-scss": "^3.21.0",
"svgo": "^2.7.0",

File diff suppressed because it is too large Load Diff