Skip to content

Commit

Permalink
chore: 删除会自动安装的stylelint插件依赖
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxian521 committed Nov 16, 2023
1 parent 86f4775 commit 1e1af33
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 27 deletions.
9 changes: 2 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"typescript",
"pinia",
"vue3",
"vite"
"vite",
"esm"
],
"homepage": "https://github.com/pure-admin/vue-pure-admin",
"repository": {
Expand Down Expand Up @@ -145,16 +146,10 @@
"sass": "^1.69.5",
"sass-loader": "^13.3.2",
"stylelint": "^15.11.0",
"stylelint-config-html": "^1.1.0",
"stylelint-config-recess-order": "^4.3.0",
"stylelint-config-recommended": "^13.0.0",
"stylelint-config-recommended-scss": "^13.1.0",
"stylelint-config-recommended-vue": "^1.5.0",
"stylelint-config-standard": "^34.0.0",
"stylelint-config-standard-scss": "^11.1.0",
"stylelint-order": "^6.0.3",
"stylelint-prettier": "^4.0.2",
"stylelint-scss": "^5.3.1",
"svgo": "^3.0.3",
"tailwindcss": "^3.3.5",
"typescript": "^5.2.2",
Expand Down
18 changes: 0 additions & 18 deletions pnpm-lock.yaml

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

5 changes: 3 additions & 2 deletions stylelint.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {
"stylelint-config-html/vue",
"stylelint-config-recess-order"
],
plugins: ["stylelint-order", "stylelint-prettier", "stylelint-scss"],
plugins: ["stylelint-scss", "stylelint-order", "stylelint-prettier"],
overrides: [
{
files: ["**/*.(css|html|vue)"],
Expand All @@ -24,6 +24,7 @@ module.exports = {
}
],
rules: {
"prettier/prettier": true,
"selector-class-pattern": null,
"no-descending-specificity": null,
"scss/dollar-variable-pattern": null,
Expand Down Expand Up @@ -83,5 +84,5 @@ module.exports = {
{ severity: "warning" }
]
},
ignoreFiles: ["**/*.js", "**/*.ts", "**/*.jsx", "**/*.tsx"]
ignoreFiles: ["**/*.js", "**/*.ts", "**/*.jsx", "**/*.tsx", "report.html"]
};

1 comment on commit 1e1af33

@xiaoxian521
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.