[BUGFIX] Correct the replace section of sysext:lang
[Packages/TYPO3.CMS.git] / .stylelintrc
1 {
2   "rules": {
3     "at-rule-empty-line-before": [
4       "always",
5       {
6         "except": [
7           "blockless-after-same-name-blockless",
8           "first-nested"
9         ],
10         "ignore": [
11           "after-comment"
12         ]
13       }
14     ],
15     "at-rule-name-case": "lower",
16     "at-rule-name-space-after": "always-single-line",
17     "at-rule-semicolon-newline-after": "always",
18     "block-closing-brace-empty-line-before": "never",
19     "block-closing-brace-newline-after": "always",
20     "block-closing-brace-newline-before": "always-multi-line",
21     "block-closing-brace-space-before": "always-single-line",
22     "block-no-empty": true,
23     "block-opening-brace-newline-after": "always-multi-line",
24     "block-opening-brace-space-after": "always-single-line",
25     "block-opening-brace-space-before": "always",
26     "color-hex-case": "lower",
27     "color-hex-length": "short",
28     "color-no-invalid-hex": true,
29     "comment-empty-line-before": [
30       "always",
31       {
32         "except": [
33           "first-nested"
34         ],
35         "ignore": [
36           "stylelint-commands"
37         ]
38       }
39     ],
40     "comment-no-empty": true,
41     "comment-whitespace-inside": "always",
42     "custom-property-empty-line-before": [
43       "always",
44       {
45         "except": [
46           "after-custom-property",
47           "first-nested"
48         ],
49         "ignore": [
50           "after-comment",
51           "inside-single-line-block"
52         ]
53       }
54     ],
55     "declaration-bang-space-after": "never",
56     "declaration-bang-space-before": "always",
57     "declaration-block-no-duplicate-properties": [
58       true,
59       {
60         "ignore": [
61           "consecutive-duplicates-with-different-values"
62         ]
63       }
64     ],
65     "declaration-block-no-redundant-longhand-properties": true,
66     "declaration-block-no-shorthand-property-overrides": true,
67     "declaration-block-semicolon-newline-after": "always-multi-line",
68     "declaration-block-semicolon-space-after": "always-single-line",
69     "declaration-block-semicolon-space-before": "never",
70     "declaration-block-single-line-max-declarations": 1,
71     "declaration-block-trailing-semicolon": "always",
72     "declaration-colon-newline-after": "always-multi-line",
73     "declaration-colon-space-after": "always-single-line",
74     "declaration-colon-space-before": "never",
75     "declaration-empty-line-before": [
76       "always",
77       {
78         "except": [
79           "after-declaration",
80           "first-nested"
81         ],
82         "ignore": [
83           "after-comment",
84           "inside-single-line-block"
85         ]
86       }
87     ],
88     "font-family-no-duplicate-names": true,
89     "function-calc-no-unspaced-operator": true,
90     "function-comma-newline-after": "always-multi-line",
91     "function-comma-space-after": "always-single-line",
92     "function-comma-space-before": "never",
93     "function-linear-gradient-no-nonstandard-direction": true,
94     "function-max-empty-lines": 0,
95     "function-name-case": "lower",
96     "function-parentheses-newline-inside": "always-multi-line",
97     "function-parentheses-space-inside": "never-single-line",
98     "function-whitespace-after": "always",
99     "indentation": 4,
100     "keyframe-declaration-no-important": true,
101     "length-zero-no-unit": true,
102     "max-empty-lines": 1,
103     "media-feature-colon-space-after": "always",
104     "media-feature-colon-space-before": "never",
105     "media-feature-name-case": "lower",
106     "media-feature-name-no-unknown": true,
107     "media-feature-parentheses-space-inside": "never",
108     "media-feature-range-operator-space-after": "always",
109     "media-feature-range-operator-space-before": "always",
110     "media-query-list-comma-newline-after": "always-multi-line",
111     "media-query-list-comma-space-after": "always-single-line",
112     "media-query-list-comma-space-before": "never",
113     "no-empty-source": true,
114     "no-eol-whitespace": true,
115     "no-extra-semicolons": true,
116     "no-invalid-double-slash-comments": true,
117     "no-missing-end-of-source-newline": true,
118     "number-leading-zero": "always",
119     "number-no-trailing-zeros": true,
120     "property-case": "lower",
121     "property-no-unknown": true,
122     "rule-empty-line-before": [
123       "always-multi-line",
124       {
125         "except": [
126           "first-nested"
127         ],
128         "ignore": [
129           "after-comment"
130         ]
131       }
132     ],
133     "selector-attribute-brackets-space-inside": "never",
134     "selector-attribute-operator-space-after": "never",
135     "selector-attribute-operator-space-before": "never",
136     "selector-combinator-space-after": "always",
137     "selector-combinator-space-before": "always",
138     "selector-descendant-combinator-no-non-space": true,
139     "selector-list-comma-newline-after": "always",
140     "selector-list-comma-space-before": "never",
141     "selector-max-empty-lines": 0,
142     "selector-pseudo-class-case": "lower",
143     "selector-pseudo-class-no-unknown": true,
144     "selector-pseudo-class-parentheses-space-inside": "never",
145     "selector-pseudo-element-case": "lower",
146     "selector-pseudo-element-colon-notation": "single",
147     "selector-pseudo-element-no-unknown": true,
148     "selector-type-case": "lower",
149     "selector-type-no-unknown": true,
150     "shorthand-property-no-redundant-values": true,
151     "string-no-newline": true,
152     "unit-case": "lower",
153     "unit-no-unknown": true,
154     "value-list-comma-newline-after": "always-multi-line",
155     "value-list-comma-space-after": "always-single-line",
156     "value-list-comma-space-before": "never",
157     "value-list-max-empty-lines": 0
158   }
159 }