gpt4 book ai didi

vuejs3 - vue3 和 stylelint,如何修复 --Unexpected unknown pseudo-class selector ,":deep"

转载 作者:行者123 更新时间:2023-12-01 23:12:15 28 4
gpt4 key购买 nike

我这样配置 stylelintrc.js:

rules: {
"selector-pseudo-element-no-unknown": [true, {
"ignorePseudoClasses": ["deep",""]
}]
}

但不行,我的vue文件在这里 link

错误是:

Unexpected unknown pseudo-class selector selector-pseudo-class-no-unknown
":deep"

错误图片在这里 link

最佳答案

add ignorePseudoClasses sub rule

如果出现这个问题,可以简单修改[stylelint.config.js]中的规则:

添加ignorePseudoClasses规则项命名[deep]

关于vuejs3 - vue3 和 stylelint,如何修复 --Unexpected unknown pseudo-class selector ,":deep",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/69686958/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com