chore: stylelint config

This commit is contained in:
xingyu 2023-10-25 10:35:30 +08:00
parent 50f1ae9524
commit bf2c59c6e0

View File

@ -16,8 +16,8 @@ module.exports = {
ignoreAtRules: ['function', 'if', 'each', 'include', 'mixin']
}
],
// 命名规范
"selector-class-pattern": null,
'media-query-no-invalid': null,
'function-no-unknown': null,
'no-empty-source': null,
'named-grid-areas-no-invalid': null,
'unicode-bom': 'never',
@ -215,6 +215,8 @@ module.exports = {
extends: ['stylelint-config-recommended', 'stylelint-config-html'],
rules: {
'keyframes-name-pattern': null,
'selector-class-pattern': null,
'no-duplicate-selectors': null,
'selector-pseudo-class-no-unknown': [
true,
{