2021-10-18 17:04:47 +08:00
|
|
|
module.exports = {
|
|
|
|
defaultSeverity: 'error',
|
2023-07-06 12:01:08 +08:00
|
|
|
extends: ['stylelint-config-standard'],
|
2023-07-11 16:38:05 +08:00
|
|
|
rules: {
|
|
|
|
'no-descending-specificity': null,
|
|
|
|
'import-notation': 'string',
|
2023-08-05 16:57:30 +08:00
|
|
|
'no-empty-source': null,
|
|
|
|
'custom-property-pattern': null,
|
|
|
|
'selector-class-pattern': null,
|
2023-07-12 16:29:42 +08:00
|
|
|
'selector-pseudo-class-no-unknown': [
|
|
|
|
true,
|
|
|
|
{
|
|
|
|
ignorePseudoClasses: ['deep'],
|
|
|
|
},
|
|
|
|
],
|
2023-07-11 16:38:05 +08:00
|
|
|
},
|
2023-02-01 15:37:47 +08:00
|
|
|
overrides: [
|
|
|
|
{
|
2023-02-27 14:33:08 +08:00
|
|
|
files: ['**/*.html', '**/*.vue'],
|
2023-02-01 15:37:47 +08:00
|
|
|
customSyntax: 'postcss-html',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
files: ['**/*.less'],
|
|
|
|
customSyntax: 'postcss-less',
|
|
|
|
},
|
|
|
|
],
|
2021-10-18 17:04:47 +08:00
|
|
|
};
|