mirror of
https://github.com/Tencent/tdesign-vue-next-starter.git
synced 2024-11-10 00:18:26 +08:00
e98d1555d0
* feat(stylelint): 移除没用的规则 * fix: types error
28 lines
585 B
JavaScript
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',
|
|
},
|
|
],
|
|
};
|