tdesign-vue-next-starter/stylelint.config.js
liweijie0812 e98d1555d0
feat(stylelint): 移除没用的规则 (#584)
* feat(stylelint): 移除没用的规则

* fix: types error
2023-08-05 16:57:30 +08:00

28 lines
585 B
JavaScript

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,
'selector-pseudo-class-no-unknown': [
true,
{
ignorePseudoClasses: ['deep'],
},
],
},
overrides: [
{
files: ['**/*.html', '**/*.vue'],
customSyntax: 'postcss-html',
},
{
files: ['**/*.less'],
customSyntax: 'postcss-less',
},
],
};