-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstylelint.config.cjs
77 lines (77 loc) · 1.72 KB
/
stylelint.config.cjs
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
/* eslint-env node */
module.exports = {
extends: ['stylelint-config-standard-scss'],
plugins: ['stylelint-order'],
// add your custom config here
// https://stylelint.io/user-guide/configuration
rules: {
'at-rule-no-unknown': [null],
'function-no-unknown': [true, { ignoreFunctions: ['theme'] }],
'declaration-empty-line-before': null,
'no-descending-specificity': null,
'selector-class-pattern': null,
'import-notation': null,
'number-max-precision': null,
'media-feature-range-notation': null,
'selector-pseudo-element-no-unknown': [
true,
{
ignorePseudoElements: ['global'],
},
],
'order/order': ['custom-properties', 'declarations'],
'order/properties-order': [
'position',
'content',
'overflow',
'display',
'top',
'left',
'right',
'bottom',
'z-index',
'flex',
'flex-direction',
'flex-basis',
'justify-content',
'align-items',
'grid',
'width',
'height',
'max-width',
'max-height',
'min-width',
'min-height',
'margin',
'margin-top',
'margin-left',
'margin-right',
'margin-bottom',
'padding',
'padding-top',
'padding-left',
'padding-right',
'padding-bottom',
'font-family',
'font-weight',
'font-size',
'line-height',
'text-align',
'text-decoration',
'color',
'background',
'border',
'border-top',
'border-left',
'border-bottom',
'border-right',
'border-radius',
'opacity',
'transform',
'pointer-events',
'will-change',
'backface-visibility',
'transition',
],
},
};