Skip to content

Commit

Permalink
feat: 安装 stylelint-config-recommended-vue ,修复 vue 文件中 stylelint 导致的报错
Browse files Browse the repository at this point in the history
  • Loading branch information
baiwumm committed Apr 7, 2024
1 parent 5b74b2a commit 6e75e1d
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .stylelintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
extends: ['stylelint-config-standard'],
extends: ['stylelint-config-standard', 'stylelint-config-recommended-vue'],
plugins: ['stylelint-order'],
rules: {
// 颜色指定大写
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"prettier": "^3.2.5",
"release-it": "^17.1.1",
"stylelint": "^16.3.1",
"stylelint-config-recommended-vue": "^1.5.0",
"stylelint-config-standard": "^36.0.0",
"stylelint-order": "^6.0.4"
}
Expand Down
62 changes: 56 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6e75e1d

Please sign in to comment.