-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc
71 lines (66 loc) · 2.48 KB
/
.stylelintrc
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
{
"extends": "stylelint-config-standard",
plugins: [
'stylelint-scss'
],
"rules": {
'color-hex-case': null,
'color-hex-length': null,
'declaration-colon-newline-after': null,
'declaration-empty-line-before': ['never', {
ignore: ['after-declaration']
}],
"at-rule-no-unknown": [true, {
"ignoreAtRules": ["function", "if", "each", "include", "mixin"]
}],
'font-weight-notation': 'named-where-possible',
'max-line-length': [100, {
ignore: ['comments'],
}],
'no-descending-specificity': null,
'property-no-unknown': [true, {
ignoreProperties: ['composes', '/^var/']
}],
'selector-attribute-quotes': 'always',
'selector-list-comma-newline-after': 'always-multi-line',
'selector-max-attribute': 2,
'selector-max-universal': 2,
'selector-pseudo-class-no-unknown': [true, {
ignorePseudoClasses: ['global', 'export']
}],
'comment-word-blacklist': ['/^TODO/', {
severity: 'warning'
}],
'declaration-no-important': [true, {
severity: 'warning'
}],
'no-invalid-double-slash-comments': null,
'at-rule-empty-line-before': ['always', {
except: ['first-nested'],
ignore: ['after-comment', 'blockless-after-same-name-blockless'],
ignoreAtRules: ['if', 'else']
}],
'block-closing-brace-newline-after': ['always', {
ignoreAtRules: ['if', 'else']
}],
'scss/double-slash-comment-whitespace-inside': 'always',
'scss/at-else-closing-brace-newline-after': 'always-last-in-chain',
'scss/at-function-parentheses-space-before': 'never',
'scss/at-if-closing-brace-newline-after': 'always-last-in-chain',
'scss/at-if-closing-brace-space-after': 'always-intermediate',
'scss/at-mixin-parentheses-space-before': 'never',
'scss/declaration-nested-properties': 'never',
'scss/dollar-variable-colon-space-after': 'at-least-one-space',
'scss/dollar-variable-colon-space-before': 'never',
'scss/dollar-variable-no-missing-interpolation': true,
'scss/operator-no-newline-after': true,
'scss/operator-no-newline-before': true,
'scss/operator-no-unspaced': true,
'scss/partial-no-import': true,
'at-rule-no-vendor-prefix': true,
'media-feature-name-no-vendor-prefix': true,
'property-no-vendor-prefix': true,
'selector-no-vendor-prefix': true,
'value-no-vendor-prefix': true
}
}