-
Notifications
You must be signed in to change notification settings - Fork 6
/
.stylelintrc.js
52 lines (52 loc) · 1.08 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
46
47
48
49
50
51
52
module.exports = {
extends: [
'stylelint-config-standard-scss',
'stylelint-config-standard-vue/scss',
'stylelint-config-recess-order',
'@stylistic/stylelint-config',
],
plugins: [
'stylelint-scss',
],
rules: {
'@stylistic/max-line-length': null,
'scss/at-extend-no-missing-placeholder': null,
'no-empty-source': null,
'selector-type-no-unknown': null,
'custom-property-pattern': null,
'no-descending-specificity': null,
'unit-no-unknown': [
true,
{
ignoreUnits: ['rpx'],
},
],
'selector-pseudo-element-no-unknown': [
true,
{
ignorePseudoElements: ['v-deep'],
},
],
'selector-pseudo-class-no-unknown': [
true,
{
ignorePseudoClasses: ['deep'],
},
],
'scss/no-global-function-names': null,
'selector-class-pattern': null,
},
allowEmptyInput: true,
ignoreFiles: [
'node_modules/**/*',
'**/*.js',
'**/*.jsx',
'**/*.tsx',
'**/*.ts',
'**/*.json',
'**/*.md',
'**/*.yaml',
'dist/**/*',
'LICENSE',
],
}