-
Notifications
You must be signed in to change notification settings - Fork 1
/
.stylelintrc
134 lines (134 loc) · 4.95 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"defaultSeverity": "warning",
"plugins": [
"stylelint-value-no-unknown-custom-properties",
"stylelint-declaration-use-variable",
"stylelint-scss",
"stylelint-a11y",
"stylelint-order"
],
"extends": [
"stylelint-config-standard",
"stylelint-config-recommended-scss"
],
"ignoreFiles": [
"content/themes/pulinafourteen",
"content/themes/pulina",
"content/themes/light"
],
"rules": {
"csstools/value-no-unknown-custom-properties": [true, {
"importFrom": [
"content/themes/annastiina/css/global.css"
]
}],
"sh-waqar/declaration-use-variable": [
[
"/color/",
{
"ignoreValues": [
"transparent",
"inherit"
]
}
]
],
"custom-property-empty-line-before": "never",
"block-closing-brace-empty-line-before": "never",
"property-case": "lower",
"color-no-invalid-hex": true,
"color-hex-case": "lower",
"color-hex-length": "short",
"selector-pseudo-element-case": "lower",
"selector-type-case": "lower",
"selector-pseudo-class-parentheses-space-inside": "never",
"function-parentheses-space-inside": "never",
"function-comma-newline-after": "never-multi-line",
"function-name-case": "lower",
"function-max-empty-lines": 0,
"max-empty-lines": 1,
"unit-case": "lower",
"selector-pseudo-class-case": "lower",
"value-keyword-case": "lower",
"selector-attribute-brackets-space-inside": "never",
"selector-attribute-quotes": "always",
"selector-combinator-space-after": "always",
"selector-combinator-space-before": "always",
"selector-descendant-combinator-no-non-space": true,
"comment-whitespace-inside": "always",
"indentation": 2,
"linebreaks": "unix",
"selector-max-specificity": "0,5,5",
"block-no-empty": true,
"declaration-colon-newline-after": null,
"declaration-empty-line-before": "never",
"number-leading-zero": "never",
"number-no-trailing-zeros": true,
"value-list-comma-newline-after": "never-multi-line",
"selector-list-comma-newline-after": "always",
"declaration-colon-space-before": "never",
"declaration-block-trailing-semicolon": "always",
"no-eol-whitespace": true,
"no-empty-first-line": true,
"no-missing-end-of-source-newline": true,
"block-opening-brace-newline-after": "always",
"block-closing-brace-newline-after": "always-multi-line",
"rule-empty-line-before": null,
"string-quotes": null,
"media-feature-colon-space-after": "always",
"media-feature-colon-space-before": "never",
"media-feature-parentheses-space-inside": "never",
"media-feature-range-operator-space-after": "always",
"media-feature-range-operator-space-before": "always",
"media-query-list-comma-newline-after": "never-multi-line",
"media-feature-name-case": "lower",
"font-family-no-missing-generic-family-keyword": true,
"font-family-name-quotes": "always-where-required",
"at-rule-empty-line-before": null,
"at-rule-no-unknown": null,
"declaration-no-important": true,
"comment-empty-line-before": null,
"at-rule-name-newline-after": null,
"at-rule-semicolon-newline-after": null,
"at-rule-semicolon-space-before": "never",
"at-rule-name-space-after": "always",
"at-rule-name-case": "lower",
"function-url-quotes": "always",
"no-descending-specificity": [true, { "severity": "warning" }],
"unit-no-unknown": true,
"property-no-unknown": true,
"no-duplicate-selectors": true,
"no-extra-semicolons": true,
"length-zero-no-unit": true,
"font-weight-notation": "numeric",
"number-max-precision": 3,
"selector-class-pattern": null,
"selector-max-class": 4,
"selector-max-combinators": 3,
"selector-max-compound-selectors": 4,
"selector-max-pseudo-class": 2,
"selector-max-universal": 1,
"selector-no-vendor-prefix": true,
"selector-no-qualifying-type": null,
"max-nesting-depth": [ 3, { "ignore": ["blockless-at-rules", "pseudo-classes"] } ],
"declaration-block-no-duplicate-properties": true,
"no-unknown-animations": true,
"selector-pseudo-element-colon-notation": "double",
"shorthand-property-no-redundant-values": true,
"declaration-block-single-line-max-declarations": 1,
"declaration-property-unit-allowed-list": [{
"font-size": ["rem", "em", "px"],
"/^animation/": ["ms", "s"],
"line-height": ["px", "%", ""]
}],
"a11y/no-outline-none": true,
"a11y/selector-pseudo-class-focus": true,
"a11y/font-size-is-readable": [true, { "severity": "warning" }],
"a11y/line-height-is-vertical-rhythmed": [null, { "severity": "warning" }],
"a11y/no-display-none": [true, { "severity": "warning" }],
"a11y/no-obsolete-element": [true, { "severity": "warning" }],
"a11y/no-text-align-justify": [true, { "severity": "warning" }],
"order/properties-alphabetical-order": true,
"property-disallowed-list": ["font", "animation", "background"]
}
}