fix: stylelint not work

This commit is contained in:
vben
2024-05-28 23:53:15 +08:00
parent 11a36ef03f
commit 59b4f7d9f8
32 changed files with 585 additions and 550 deletions

View File

@@ -40,7 +40,7 @@
"postcss-html": "^1.7.0",
"postcss-scss": "^4.0.9",
"prettier": "^3.2.5",
"stylelint": "^16.6.0",
"stylelint": "^16.6.1",
"stylelint-config-recommended": "^14.0.0",
"stylelint-config-recommended-scss": "^14.0.0",
"stylelint-config-recommended-vue": "^1.5.0",

View File

@@ -11,7 +11,7 @@ export default {
overrides: [
{
customSyntax: 'postcss-html',
files: ['**/*.(css|html|vue)'],
files: ['*.(html|vue)', '**/*.(html|vue)'],
rules: {
'selector-pseudo-class-no-unknown': [
true,