forked from KNXCloud/lowcode-engine-vue
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.stylelintrc.js
More file actions
26 lines (26 loc) · 828 Bytes
/
.stylelintrc.js
File metadata and controls
26 lines (26 loc) · 828 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
module.exports = {
extends: [
'stylelint-config-standard',
'stylelint-config-prettier',
'stylelint-config-rational-order',
'stylelint-config-recommended-vue',
'stylelint-config-recommended-less',
],
rules: {
'at-rule-no-unknown': null,
'no-descending-specificity': null,
'color-no-invalid-hex': true,
'less/color-no-invalid-hex': true,
'selector-pseudo-element-no-unknown': [true, { ignorePseudoElements: ['v-deep'] }],
'selector-pseudo-class-no-unknown': [true, { ignorePseudoClasses: ['deep'] }],
'no-descending-specificity': null,
'declaration-block-trailing-semicolon': null,
'font-family-no-missing-generic-family-keyword': null,
},
overrides: [
{
files: ['**/*.less'],
customSyntax: 'postcss-less',
},
],
};