-
Notifications
You must be signed in to change notification settings - Fork 2
/
.stylelintrc.yaml
94 lines (78 loc) · 2.04 KB
/
.stylelintrc.yaml
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
extends:
- stylelint-config-standard
- stylelint-config-standard-scss
- '@stylistic/stylelint-config'
ignorePath: .gitignore
plugins:
- stylelint-no-unsupported-browser-features
rules:
'@stylistic/indentation':
- tab
'@stylistic/max-line-length':
- 100
- ignorePattern: /// https?:///
## https://github.com/stylelint-scss/stylelint-scss/issues/538#issuecomment-1234825692
no-invalid-position-at-import-rule: null
at-rule-empty-line-before:
- always
- except:
- first-nested
ignore:
- after-comment
- blockless-after-same-name-blockless
ignoreAtRules:
- else
'@stylistic/block-closing-brace-newline-after':
- always
- ignoreAtRules:
- if
- else
'@stylistic/declaration-colon-newline-after': null
'@stylistic/function-comma-newline-after': null
declaration-empty-line-before:
- always
- except:
- first-nested
ignore:
- after-comment
- after-declaration
declaration-block-no-redundant-longhand-properties:
- true
- severity: warning
'@stylistic/declaration-colon-space-after':
- always-single-line
## This selectors could not be sorted by specificity:
# .scrollable { // 0-1-0
# table {} // 0-1-1
# }
#
# a + .scrollable, // 0-1-1
# a + table { // 0-0-2
# }
## Specifity specification: https://www.w3.org/TR/selectors-3/#specificity
no-descending-specificity: null
## https://github.com/stylelint/stylelint/issues/4622
value-keyword-case:
- lower
- ignoreKeywords:
- BlinkMacSystemFont
plugin/no-unsupported-browser-features:
- true
- severity: warning
ignore:
- flexbox
- css3-cursors
## https://github.com/anandthakker/doiuse/issues/70
- outline
## Let's reconcile with IE 11
- css-appearance
overrides:
- files:
- '**/*.scss'
rules:
plugin/no-unsupported-browser-features:
- true
- severity: warning
ignore:
- css3-cursors
- css-nesting