chore: stylelint config

(cherry picked from commit bf2c59c6e0)
This commit is contained in:
xingyu 2023-10-25 10:35:30 +08:00 committed by shizhong
parent 0ed18fde8a
commit 345c2443be

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,
{