mirror of
https://github.com/Tencent/tdesign-vue-next-starter.git
synced 2024-11-10 07:08:23 +08:00
b9095ce939
* chore: update deps mockjs: CVE-2023-26158 vite: CVE-2024-23331 * chore: update deps * chore: explicit definition type * chore: update echarts * feat: change the overall ESM
29 lines
717 B
JavaScript
29 lines
717 B
JavaScript
export default {
|
||
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'],
|
||
},
|
||
],
|
||
'media-query-no-invalid': null, // 官方表示此规则应当仅对于原生CSS启用,对于预处理器(Less)不应启用
|
||
},
|
||
overrides: [
|
||
{
|
||
files: ['**/*.html', '**/*.vue'],
|
||
customSyntax: 'postcss-html',
|
||
},
|
||
{
|
||
files: ['**/*.less'],
|
||
customSyntax: 'postcss-less',
|
||
},
|
||
],
|
||
};
|