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