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: See comments inline Created Nov. 9, 2016, 4:56 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,
juliandoucette 2016/11/09 17:01:54 Fixed invalid property value.
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
33 "value-keyword-case": "lower",
34 "value-no-vendor-prefix": true,
35
36 "value-list-comma-newline-before": "never-multi-line",
37 "value-list-comma-space-after": "always-single-line",
38 "value-list-comma-space-before": "never-single-line",
39 "value-list-max-empty-lines": 0,
40
41 "custom-property-empty-line-before": "never",
42 "custom-property-no-outside-root": true,
43
44 "property-case": "lower",
45 "property-no-unknown": true,
46 "property-no-vendor-prefix": true,
47
48 "declaration-bang-space-after": "never",
49 "declaration-bang-space-before": "always",
50 "declaration-colon-newline-after": "always-multi-line",
51 "declaration-colon-space-after": "always",
52 "declaration-colon-space-before": "never",
53 "declaration-empty-line-before": "never",
54 "declaration-no-important": true,
55
56 "declaration-block-no-duplicate-properties": true,
57 "declaration-block-no-ignored-properties": true,
58 "declaration-block-no-redundant-longhand-properties": true,
59 "declaration-block-no-shorthand-property-overrides": true,
60 "declaration-block-properties-order": [
61 "display",
62 "visibility",
63
64 "position",
65 "top",
66 "right",
67 "bottom",
68 "left",
69 "float",
70 "clear",
71 "z-index",
72
73 "flex",
74 "flex-direction",
75 "flex-order",
76 "flex-pack",
77 "flex-align",
78 "box-sizing",
79 "table-layout",
80 "empty-cells",
81 "border-spacing",
82 "border-collapse",
83 "overflow",
84 "overflow-x",
85 "overflow-y",
86 "width",
87 "min-width",
88 "max-width",
89 "height",
90 "min-height",
91 "max-height",
92 "margin",
93 "margin-top",
94 "margin-right",
95 "margin-bottom",
96 "margin-left",
97 "padding",
98 "padding-top",
99 "padding-right",
100 "padding-bottom",
101 "padding-left",
102 "border",
103 "border-collapse",
104 "border-width",
105 "border-style",
106 "border-color",
107 "border-top",
108 "border-top-width",
109 "border-top-style",
110 "border-top-color",
111 "border-right",
112 "border-right-width",
113 "border-right-style",
114 "border-right-color",
115 "border-bottom",
116 "border-bottom-width",
117 "border-bottom-style",
118 "border-bottom-color",
119 "border-left",
120 "border-left-width",
121 "border-left-style",
122 "border-left-color",
123 "border-radius",
124 "border-top-left-radius",
125 "border-top-right-radius",
126 "border-bottom-right-radius",
127 "border-bottom-left-radius",
128 "border-image",
129 "border-image-source",
130 "border-image-slice",
131 "border-image-width",
132 "border-image-outset",
133 "border-image-repeat",
134 "outline",
135 "outline-width",
136 "outline-style",
137 "outline-color",
138 "outline-offset",
139 "box-shadow",
140 "text-shadow",
141
142 "color",
143 "opacity",
144 "background",
145 "background-color",
146 "background-image",
147 "background-repeat",
148 "background-attachment",
149 "background-position",
150 "background-position-x",
151 "background-position-y",
152 "background-clip",
153 "background-origin",
154 "background-size",
155
156 "font",
157 "font-family",
158 "font-size",
159 "font-weight",
160 "font-style",
161 "font-variant",
162 "line-height",
163 "text-align",
164 "text-align-last",
165 "vertical-align",
166 "white-space",
167 "text-decoration",
168 "text-transform",
169 "letter-spacing",
170 "word-spacing",
171 "text-transform",
172 "text-overflow",
173 "text-overflow-ellipsis",
174 "text-overflow-mode",
175 "word-wrap",
176 "word-break",
177 "tab-size",
178
179 "content",
180 "quotes",
181 "cursor",
182 "counter-reset",
183 "counter-increment",
184 "list-style",
185 "list-style-position",
186 "list-style-type",
187 "list-style-image",
188
189 "transition",
190 "transition-delay",
191 "transition-timing-function",
192 "transition-duration",
193 "transition-property",
194 "transform",
195 "transform-origin",
196 "animation",
197 "animation-name",
198 "animation-duration",
199 "animation-play-state",
200 "animation-timing-function",
201 "animation-delay",
202 "animation-iteration-count",
203 "animation-iteration-count",
204 "animation-direction"
205 ],
206 "declaration-block-semicolon-newline-after": "always",
207 "declaration-block-semicolon-newline-before": "never-multi-line",
juliandoucette 2016/11/09 17:01:54 Fixed invalid property value.
208 "declaration-block-semicolon-space-after": "never-single-line",
209 "declaration-block-semicolon-space-before": "never",
210 "declaration-block-single-line-max-declarations": 1,
211 "declaration-block-trailing-semicolon": "always",
212
213 "block-closing-brace-empty-line-before": "never",
214 "block-closing-brace-newline-after": "always",
215 "block-closing-brace-newline-before": "always",
216 "block-closing-brace-space-after": "always-single-line",
217 "block-closing-brace-space-before": "always-single-line",
218 "block-no-empty": true,
219 "block-no-single-line": true,
220 "block-opening-brace-newline-after": "always",
juliandoucette 2016/11/09 17:01:54 Corrected.
221 "block-opening-brace-newline-before": "always-single-line",
222 "block-opening-brace-space-after": "always-single-line",
223 "block-opening-brace-space-before": "always-single-line",
224
225 "selector-attribute-brackets-space-inside": "never",
226 "selector-attribute-operator-space-after": "never",
227 "selector-attribute-operator-space-before": "never",
228 "selector-attribute-quotes": "always",
229 "selector-combinator-space-after": "always",
230 "selector-combinator-space-before": "always",
231 "selector-descendant-combinator-no-non-space": true,
232 "selector-max-compound-selectors": 3,
233 "selector-no-empty": true,
234 "selector-no-qualifying-type": [true, {"ignore": "attribute"}],
juliandoucette 2016/11/09 17:01:54 - Fixed invalid property value - Added ignore attr
235 "selector-no-vendor-prefix": true,
236 "selector-pseudo-class-case": "lower",
237 "selector-pseudo-class-no-unknown": true,
238 "selector-pseudo-class-parentheses-space-inside": "never",
239 "selector-pseudo-element-case": "lower",
240 "selector-pseudo-element-colon-notation": "single",
241 "selector-pseudo-element-no-unknown": true,
242 "selector-type-case": "lower",
243 "selector-type-no-unknown": true,
244 "selector-max-empty-lines": 0,
245
246 "selector-list-comma-newline-after": "always",
247 "selector-list-comma-newline-before": "never-multi-line",
juliandoucette 2016/11/09 17:01:54 Fixed invalid property value.
248 "selector-list-comma-space-after": "always-single-line",
249 "selector-list-comma-space-before": "never",
250
251 "root-no-standard-properties": true,
252
253 "rule-nested-empty-line-before": ["always", {"except": ["first-nested"], "ig nore": ["after-comment"]}],
254 "rule-non-nested-empty-line-before": ["always", {"ignore": ["after-comment"] }],
255
256 "media-feature-colon-space-after": "always",
257 "media-feature-colon-space-before": "never",
258 "media-feature-name-case": "lower",
259 "media-feature-name-no-unknown": true,
260 "media-feature-name-no-vendor-prefix": true,
261 "media-feature-parentheses-space-inside": "never",
262 "media-feature-range-operator-space-after": "always",
263 "media-feature-range-operator-space-before": "always",
264
265 "media-query-list-comma-newline-after": "never-multi-line",
juliandoucette 2016/11/09 17:01:54 Fixed invalid property value.
266 "media-query-list-comma-newline-before": "never-multi-line",
juliandoucette 2016/11/09 17:01:54 Fixed invalid property value.
267 "media-query-list-comma-space-after": "always",
268 "media-query-list-comma-space-before": "never",
269
270 "at-rule-name-case": "lower",
271 "at-rule-name-space-after": "always",
juliandoucette 2016/11/10 11:42:58 Removed because we don't want to force this.
272 "at-rule-no-unknown": true,
273 "at-rule-no-vendor-prefix": true,
274 "at-rule-semicolon-newline-after": "always",
275
276 "comment-no-empty": true,
277
278 "indentation": 2,
279 "max-empty-lines": 1,
280 "max-nesting-depth": 3,
281 "no-duplicate-selectors": true,
282 "no-empty-source": true,
283 "no-eol-whitespace": true,
284 "no-extra-semicolons": true,
285 "no-indistinguishable-colors": true,
juliandoucette 2016/11/10 11:42:58 Removed because it creates false positives with SC
286 "no-missing-end-of-source-newline": true,
287 "no-unsupported-browser-features": [true, {"browsers": "last 2 versions, > 1 %, IE 8"}]
juliandoucette 2016/11/09 17:01:54 - Fixed invalid property value - Changed rule to b
288
289 }
290 }
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