Skip to content

Commit bf2c59c

Browse files
committed
chore: stylelint config
1 parent 50f1ae9 commit bf2c59c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

stylelint.config.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ module.exports = {
1616
ignoreAtRules: ['function', 'if', 'each', 'include', 'mixin']
1717
}
1818
],
19-
// 命名规范
20-
"selector-class-pattern": null,
19+
'media-query-no-invalid': null,
20+
'function-no-unknown': null,
2121
'no-empty-source': null,
2222
'named-grid-areas-no-invalid': null,
2323
'unicode-bom': 'never',
@@ -215,6 +215,8 @@ module.exports = {
215215
extends: ['stylelint-config-recommended', 'stylelint-config-html'],
216216
rules: {
217217
'keyframes-name-pattern': null,
218+
'selector-class-pattern': null,
219+
'no-duplicate-selectors': null,
218220
'selector-pseudo-class-no-unknown': [
219221
true,
220222
{

0 commit comments

Comments
 (0)