chore: 删除会自动安装的stylelint插件依赖

This commit is contained in:
xiaoxian521 2023-11-16 22:18:22 +08:00
parent 86f4775459
commit 1e1af33237
3 changed files with 5 additions and 27 deletions

View File

@ -30,7 +30,8 @@
"typescript", "typescript",
"pinia", "pinia",
"vue3", "vue3",
"vite" "vite",
"esm"
], ],
"homepage": "https://github.com/pure-admin/vue-pure-admin", "homepage": "https://github.com/pure-admin/vue-pure-admin",
"repository": { "repository": {
@ -145,16 +146,10 @@
"sass": "^1.69.5", "sass": "^1.69.5",
"sass-loader": "^13.3.2", "sass-loader": "^13.3.2",
"stylelint": "^15.11.0", "stylelint": "^15.11.0",
"stylelint-config-html": "^1.1.0",
"stylelint-config-recess-order": "^4.3.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-recommended-vue": "^1.5.0",
"stylelint-config-standard": "^34.0.0",
"stylelint-config-standard-scss": "^11.1.0", "stylelint-config-standard-scss": "^11.1.0",
"stylelint-order": "^6.0.3",
"stylelint-prettier": "^4.0.2", "stylelint-prettier": "^4.0.2",
"stylelint-scss": "^5.3.1",
"svgo": "^3.0.3", "svgo": "^3.0.3",
"tailwindcss": "^3.3.5", "tailwindcss": "^3.3.5",
"typescript": "^5.2.2", "typescript": "^5.2.2",

18
pnpm-lock.yaml generated
View File

@ -295,36 +295,18 @@ devDependencies:
stylelint: stylelint:
specifier: ^15.11.0 specifier: ^15.11.0
version: 15.11.0(typescript@5.2.2) version: 15.11.0(typescript@5.2.2)
stylelint-config-html:
specifier: ^1.1.0
version: 1.1.0(postcss-html@1.5.0)(stylelint@15.11.0)
stylelint-config-recess-order: stylelint-config-recess-order:
specifier: ^4.3.0 specifier: ^4.3.0
version: 4.3.0(stylelint@15.11.0) version: 4.3.0(stylelint@15.11.0)
stylelint-config-recommended:
specifier: ^13.0.0
version: 13.0.0(stylelint@15.11.0)
stylelint-config-recommended-scss:
specifier: ^13.1.0
version: 13.1.0(postcss@8.4.31)(stylelint@15.11.0)
stylelint-config-recommended-vue: stylelint-config-recommended-vue:
specifier: ^1.5.0 specifier: ^1.5.0
version: 1.5.0(postcss-html@1.5.0)(stylelint@15.11.0) version: 1.5.0(postcss-html@1.5.0)(stylelint@15.11.0)
stylelint-config-standard:
specifier: ^34.0.0
version: 34.0.0(stylelint@15.11.0)
stylelint-config-standard-scss: stylelint-config-standard-scss:
specifier: ^11.1.0 specifier: ^11.1.0
version: 11.1.0(postcss@8.4.31)(stylelint@15.11.0) version: 11.1.0(postcss@8.4.31)(stylelint@15.11.0)
stylelint-order:
specifier: ^6.0.3
version: 6.0.3(stylelint@15.11.0)
stylelint-prettier: stylelint-prettier:
specifier: ^4.0.2 specifier: ^4.0.2
version: 4.0.2(prettier@3.1.0)(stylelint@15.11.0) version: 4.0.2(prettier@3.1.0)(stylelint@15.11.0)
stylelint-scss:
specifier: ^5.3.1
version: 5.3.1(stylelint@15.11.0)
svgo: svgo:
specifier: ^3.0.3 specifier: ^3.0.3
version: 3.0.3 version: 3.0.3

View File

@ -8,7 +8,7 @@ module.exports = {
"stylelint-config-html/vue", "stylelint-config-html/vue",
"stylelint-config-recess-order" "stylelint-config-recess-order"
], ],
plugins: ["stylelint-order", "stylelint-prettier", "stylelint-scss"], plugins: ["stylelint-scss", "stylelint-order", "stylelint-prettier"],
overrides: [ overrides: [
{ {
files: ["**/*.(css|html|vue)"], files: ["**/*.(css|html|vue)"],
@ -24,6 +24,7 @@ module.exports = {
} }
], ],
rules: { rules: {
"prettier/prettier": true,
"selector-class-pattern": null, "selector-class-pattern": null,
"no-descending-specificity": null, "no-descending-specificity": null,
"scss/dollar-variable-pattern": null, "scss/dollar-variable-pattern": null,
@ -83,5 +84,5 @@ module.exports = {
{ severity: "warning" } { severity: "warning" }
] ]
}, },
ignoreFiles: ["**/*.js", "**/*.ts", "**/*.jsx", "**/*.tsx"] ignoreFiles: ["**/*.js", "**/*.ts", "**/*.jsx", "**/*.tsx", "report.html"]
}; };