chore: stylelint config

pull/294/MERGE
xingyu 2023-10-25 10:35:30 +08:00
parent 50f1ae9524
commit bf2c59c6e0
1 changed files with 4 additions and 2 deletions

View File

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