Open cklwblove opened 3 years ago
补充下 selector-pseudo-class-no-unknown 相关
## stylelint.config.js
module.exports = {
extends: ['stylelint-config-standard', 'stylelint-config-prettier'],
// add your custom config here
// https://stylelint.io/user-guide/configuration
rules: {
'selector-pseudo-class-no-unknown': null,
},
}
## stylelint.config.js
module.exports = {
extends: ['stylelint-config-standard', 'stylelint-config-prettier'],
// add your custom config here
// https://stylelint.io/user-guide/configuration
rules: {
'selector-pseudo-class-no-unknown': [
true,
{
ignorePseudoClasses: ['deep'],
},
],
},
}
解决方案:
selector-pseudo-element-no-unknown
无效