tdesign-vue-next-starter/stylelint.config.js

28 lines
585 B
JavaScript
Raw Normal View History

module.exports = {
defaultSeverity: 'error',
extends: ['stylelint-config-standard'],
rules: {
'no-descending-specificity': null,
'import-notation': 'string',
'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-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',
},
],
};