-
Notifications
You must be signed in to change notification settings - Fork 4
/
.stylelintrc.js
45 lines (45 loc) · 1.19 KB
/
.stylelintrc.js
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
module.exports = {
root: true,
extends: [
'stylelint-config-standard',
// 'stylelint-config-html/vue',
'stylelint-config-standard-scss',
'stylelint-config-recommended-vue/scss',
],
plugins: ['stylelint-order'],
rules: {
'indentation': 2,
'selector-pseudo-element-no-unknown': [
true,
{
ignorePseudoElements: [
'v-deep',
'deep',
'input-placeholder'
]
}
],
'selector-class-pattern': null,
'at-rule-no-unknown': null,
'scss/at-rule-no-unknown': null,
'number-leading-zero': 'never',
'no-descending-specificity': null,
'font-family-no-missing-generic-family-keyword': null,
'selector-type-no-unknown': null,
'no-duplicate-selectors': null,
'no-empty-source':null,
'selector-pseudo-class-no-unknown': [
true,
{
ignorePseudoClasses: [
'global',
'deep'
],
}
],
"number-max-precision": null,
'scss/dollar-variable-pattern': null,
'max-line-length': 160
},
ignoreFiles: ['**/*.js', '**/*.jsx', '**/*.tsx', '**/*.ts'],
};