Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: stylelintrc.json

Issue 29360001: Issue #5109 - Create stylelintrc for websites and ui modules (Closed)
Patch Set: Created Oct. 27, 2016, 12:28 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 {
2 "rules": {
3
4 "color-hex-length": "short",
5 "color-named": "never",
6 "color-no-invalid-hex": "true",
7
8 "font-family-name-quotes": "always-where-recommended",
9 "font-weight-notation": "numeric",
10
11 "function-calc-no-unspaced-operator": true,
12 "function-comma-newline-before": "never-multi-line",
13 "function-comma-space-after": "always-single-line",
14 "function-comma-space-before": "never-single-line",
15 "function-linear-gradient-no-nonstandard-direction": true,
16 "function-max-empty-lines": 0,
17 "function-name-case": "lower",
18 "function-parentheses-space-inside": "never",
19 "function-url-quotes": "always",
20 "function-whitespace-after": "always",
21
22 "number-leading-zero": "always",
23 "number-no-trailing-zeros": true,
24
25 "string-no-newline": true,
26 "string-quotes": "double",
27
28 "time-no-imperceptible": true,
29
30 "unit-case": "lower",
31 "unit-no-unknown": true,
32 "unit-whitelist": ["px", "%"],
juliandoucette 2016/11/09 17:01:54 Removed because whitelist requires array per prope
33
34 "value-keyword-case": "lower",
35 "value-no-vendor-prefix": true,
36
37 "value-list-comma-newline-before": "never-multi-line",
38 "value-list-comma-space-after": "always-single-line",
39 "value-list-comma-space-before": "never-single-line",
40 "value-list-max-empty-lines": 0,
41
42 "custom-property-empty-line-before": "never",
43 "custom-property-no-outside-root": true,
44
45 "property-case": "lower",
46 "property-no-unknown": true,
47 "property-no-vendor-prefix": true,
48
49 "declaration-bang-space-after": "never",
50 "declaration-bang-space-before": "always",
51 "declaration-colon-newline-after": "always-multi-line",
52 "declaration-colon-space-after": "always",
53 "declaration-colon-space-before": "never",
54 "declaration-empty-line-before": "never",
55 "declaration-no-important": true,
56 "declaration-property-unit-whitelist": ["px", "%"],
juliandoucette 2016/11/09 17:01:54 Removed because whitelist requires array per prope
57
58 "declaration-block-no-duplicate-properties": true,
59 "declaration-block-no-ignored-properties": true,
60 "declaration-block-no-redundant-longhand-properties": true,
61 "declaration-block-no-shorthand-property-overrides": true,
62 "declaration-block-properties-order": [
63 "display",
64 "visibility",
65
66 "position",
67 "top",
68 "right",
69 "bottom",
70 "left",
71 "float",
72 "clear",
73 "z-index",
74
75 "flex",
76 "flex-direction",
77 "flex-order",
78 "flex-pack",
79 "flex-align",
80 "box-sizing",
81 "table-layout",
82 "empty-cells",
83 "border-spacing",
84 "border-collapse",
85 "overflow",
86 "overflow-x",
87 "overflow-y",
88 "width",
89 "min-width",
90 "max-width",
91 "height",
92 "min-height",
93 "max-height",
94 "margin",
95 "margin-top",
96 "margin-right",
97 "margin-bottom",
98 "margin-left",
99 "padding",
100 "padding-top",
101 "padding-right",
102 "padding-bottom",
103 "padding-left",
104 "border",
105 "border-collapse",
106 "border-width",
107 "border-style",
108 "border-color",
109 "border-top",
110 "border-top-width",
111 "border-top-style",
112 "border-top-color",
113 "border-right",
114 "border-right-width",
115 "border-right-style",
116 "border-right-color",
117 "border-bottom",
118 "border-bottom-width",
119 "border-bottom-style",
120 "border-bottom-color",
121 "border-left",
122 "border-left-width",
123 "border-left-style",
124 "border-left-color",
125 "border-radius",
126 "border-top-left-radius",
127 "border-top-right-radius",
128 "border-bottom-right-radius",
129 "border-bottom-left-radius",
130 "border-image",
131 "border-image-source",
132 "border-image-slice",
133 "border-image-width",
134 "border-image-outset",
135 "border-image-repeat",
136 "outline",
137 "outline-width",
138 "outline-style",
139 "outline-color",
140 "outline-offset",
141 "box-shadow",
142 "text-shadow",
143
144 "color",
145 "opacity",
146 "background",
147 "background-color",
148 "background-image",
149 "background-repeat",
150 "background-attachment",
151 "background-position",
152 "background-position-x",
153 "background-position-y",
154 "background-clip",
155 "background-origin",
156 "background-size",
157
158 "font",
159 "font-family",
160 "font-size",
161 "font-weight",
162 "font-style",
163 "font-variant",
164 "line-height",
165 "text-align",
166 "text-align-last",
167 "vertical-align",
168 "white-space",
169 "text-decoration",
170 "text-transform",
171 "letter-spacing",
172 "word-spacing",
173 "text-transform",
174 "text-overflow",
175 "text-overflow-ellipsis",
176 "text-overflow-mode",
177 "word-wrap",
178 "word-break",
179 "tab-size",
180
181 "content",
182 "quotes",
183 "cursor",
184 "counter-reset",
185 "counter-increment",
186 "list-style",
187 "list-style-position",
188 "list-style-type",
189 "list-style-image",
190
191 "transition",
192 "transition-delay",
193 "transition-timing-function",
194 "transition-duration",
195 "transition-property",
196 "transform",
197 "transform-origin",
198 "animation",
199 "animation-name",
200 "animation-duration",
201 "animation-play-state",
202 "animation-timing-function",
203 "animation-delay",
204 "animation-iteration-count",
205 "animation-iteration-count",
206 "animation-direction"
207 ],
208 "declaration-block-semicolon-newline-after": "always",
209 "declaration-block-semicolon-newline-before": "never",
210 "declaration-block-semicolon-space-after": "never-single-line",
211 "declaration-block-semicolon-space-before": "never",
212 "declaration-block-single-line-max-declarations": 1,
213 "declaration-block-trailing-semicolon": "always",
214
215 "block-closing-brace-empty-line-before": "never",
216 "block-closing-brace-newline-after": "always",
217 "block-closing-brace-newline-before": "always",
218 "block-closing-brace-space-after": "always-single-line",
219 "block-closing-brace-space-before": "always-single-line",
220 "block-no-empty": true,
221 "block-no-single-line": true,
222 "block-opening-brace-newline-after": "always-single-line",
223 "block-opening-brace-newline-before": "always-single-line",
224 "block-opening-brace-space-after": "always-single-line",
225 "block-opening-brace-space-before": "always-single-line",
226
227 "selector-attribute-brackets-space-inside": "never",
228 "selector-attribute-operator-space-after": "never",
229 "selector-attribute-operator-space-before": "never",
230 "selector-attribute-quotes": "always",
231 "selector-combinator-space-after": "always",
232 "selector-combinator-space-before": "always",
233 "selector-descendant-combinator-no-non-space": true,
234 "selector-max-compound-selectors": 3,
235 "selector-no-empty": true,
236 "selector-no-qualifying-type": true,
237 "selector-no-vendor-prefix": true,
238 "selector-pseudo-class-case": "lower",
239 "selector-pseudo-class-no-unknown": true,
240 "selector-pseudo-class-parentheses-space-inside": "never",
241 "selector-pseudo-element-case": "lower",
242 "selector-pseudo-element-colon-notation": "single",
243 "selector-pseudo-element-no-unknown": true,
244 "selector-type-case": "lower",
245 "selector-type-no-unknown": true,
246 "selector-max-empty-lines": 0,
247
248 "selector-list-comma-newline-after": "always",
249 "selector-list-comma-newline-before": "never",
250 "selector-list-comma-space-after": "always-single-line",
251 "selector-list-comma-space-before": "never",
252
253 "root-no-standard-properties": true,
254
255 "rule-nested-empty-line-before": ["always", {"except": ["first-nested"], "ig nore": ["after-comment"]}],
256 "rule-non-nested-empty-line-before": ["always", {"ignore": ["after-comment"] }],
257
258 "media-feature-colon-space-after": "always",
259 "media-feature-colon-space-before": "never",
260 "media-feature-name-case": "lower",
261 "media-feature-name-no-unknown": true,
262 "media-feature-name-no-vendor-prefix": true,
263 "media-feature-parentheses-space-inside": "never",
264 "media-feature-range-operator-space-after": "always",
265 "media-feature-range-operator-space-before": "always",
266
267 "media-query-list-comma-newline-after": "never",
268 "media-query-list-comma-newline-before": "never",
269 "media-query-list-comma-space-after": "always",
270 "media-query-list-comma-space-before": "never",
271
272 "at-rule-empty-line-before": ["always", {"except": ["all-nested"], "ignore": ["after-comment"]}],
273 "at-rule-name-case": "lower",
274 "at-rule-name-newline-after": "never",
275 "at-rule-name-space-after": "always",
276 "at-rule-no-unknown": true,
277 "at-rule-no-vendor-prefix": true,
278 "at-rule-semicolon-newline-after": "always",
279
280 "comment-no-empty": true,
281 "comment-whitespace-inside": "always",
282
283 "indentation": 2,
284 "max-empty-lines": 1,
285 "max-nesting-depth": 3,
286 "no-duplicate-selectors": true,
287 "no-empty-source": true,
288 "no-eol-whitespace": true,
289 "no-extra-semicolons": true,
290 "no-indistinguishable-colors": true,
291 "no-missing-end-of-source-newline": true,
292 "no-unsupported-browser-features": "last 1 versions, > 5%, IE 8"
293
294 }
295 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld