Left: | ||
Right: |
LEFT | RIGHT |
---|---|
1 { | 1 { |
Thomas Greiner
2017/07/07 21:45:00
Did you also consider the "General" section of our
| |
2 "rules": { | 2 "rules": { |
3 | 3 |
4 "color-hex-length": "short", | 4 "color-hex-length": "short", |
5 "color-named": "never", | 5 "color-named": "never", |
6 "color-no-invalid-hex": true, | 6 "color-no-invalid-hex": true, |
7 | 7 |
8 "font-family-name-quotes": "always-where-recommended", | 8 "font-family-name-quotes": "always-where-recommended", |
9 "font-weight-notation": "numeric", | 9 "font-weight-notation": "numeric", |
10 | 10 |
11 "function-calc-no-unspaced-operator": true, | 11 "function-calc-no-unspaced-operator": true, |
12 "function-comma-newline-before": "never-multi-line", | 12 "function-comma-newline-before": "never-multi-line", |
Thomas Greiner
2017/07/07 21:45:01
Where's this mentioned in the coding style?
In ge
| |
13 "function-comma-space-after": "always-single-line", | 13 "function-comma-space-after": "always-single-line", |
14 "function-comma-space-before": "never-single-line", | 14 "function-comma-space-before": "never-single-line", |
15 "function-linear-gradient-no-nonstandard-direction": true, | 15 "function-linear-gradient-no-nonstandard-direction": true, |
16 "function-max-empty-lines": 0, | 16 "function-max-empty-lines": 0, |
17 "function-name-case": "lower", | 17 "function-name-case": "lower", |
18 "function-parentheses-space-inside": "never", | 18 "function-parentheses-space-inside": "never", |
19 "function-url-quotes": "always", | 19 "function-url-quotes": "always", |
Thomas Greiner
2017/07/07 21:45:01
This is the opposite of what our coding style defi
| |
20 "function-whitespace-after": "always", | 20 "function-whitespace-after": "always", |
21 | 21 |
22 "number-leading-zero": "always", | 22 "number-leading-zero": "always", |
23 "number-no-trailing-zeros": true, | 23 "number-no-trailing-zeros": true, |
24 | 24 |
25 "string-no-newline": true, | 25 "string-no-newline": true, |
26 "string-quotes": "double", | 26 "string-quotes": "double", |
27 | 27 |
28 "time-no-imperceptible": true, | 28 "time-no-imperceptible": true, |
Thomas Greiner
2017/07/07 21:45:00
Apart from it not being in the coding style, this
| |
29 | 29 |
30 "unit-case": "lower", | 30 "unit-case": "lower", |
31 "unit-no-unknown": true, | 31 "unit-no-unknown": true, |
32 | 32 |
33 "value-keyword-case": "lower", | 33 "value-keyword-case": "lower", |
34 "value-no-vendor-prefix": true, | 34 "value-no-vendor-prefix": true, |
35 | 35 |
36 "value-list-comma-newline-before": "never-multi-line", | 36 "value-list-comma-newline-before": "never-multi-line", |
37 "value-list-comma-space-after": "always-single-line", | 37 "value-list-comma-space-after": "always-single-line", |
38 "value-list-comma-space-before": "never-single-line", | 38 "value-list-comma-space-before": "never-single-line", |
39 "value-list-max-empty-lines": 0, | 39 "value-list-max-empty-lines": 0, |
40 | 40 |
41 "custom-property-empty-line-before": "never", | 41 "custom-property-empty-line-before": "never", |
42 "custom-property-no-outside-root": true, | 42 "custom-property-no-outside-root": true, |
43 | 43 |
44 "property-case": "lower", | 44 "property-case": "lower", |
45 "property-no-unknown": true, | 45 "property-no-unknown": true, |
46 "property-no-vendor-prefix": true, | 46 "property-no-vendor-prefix": true, |
47 | 47 |
48 "declaration-bang-space-after": "never", | 48 "declaration-bang-space-after": "never", |
49 "declaration-bang-space-before": "always", | 49 "declaration-bang-space-before": "always", |
50 "declaration-colon-newline-after": "always-multi-line", | 50 "declaration-colon-newline-after": "always-multi-line", |
51 "declaration-colon-space-after": "always", | 51 "declaration-colon-space-after": "always", |
52 "declaration-colon-space-before": "never", | 52 "declaration-colon-space-before": "never", |
53 "declaration-empty-line-before": "never", | 53 "declaration-empty-line-before": "never", |
54 "declaration-no-important": true, | 54 "declaration-no-important": true, |
Thomas Greiner
2017/07/07 21:45:01
While this is not part of the coding style, I'd ar
| |
55 | 55 |
56 "declaration-block-no-duplicate-properties": true, | 56 "declaration-block-no-duplicate-properties": true, |
57 "declaration-block-no-ignored-properties": true, | 57 "declaration-block-no-ignored-properties": true, |
58 "declaration-block-no-redundant-longhand-properties": true, | 58 "declaration-block-no-redundant-longhand-properties": true, |
59 "declaration-block-no-shorthand-property-overrides": true, | 59 "declaration-block-no-shorthand-property-overrides": true, |
60 "declaration-block-properties-order": [ | 60 "declaration-block-properties-order": [ |
Thomas Greiner
2017/07/07 21:45:00
We have also discussed the approach of enumerating
| |
61 "display", | 61 "display", |
62 "visibility", | 62 "visibility", |
63 | 63 |
64 "position", | 64 "position", |
65 "top", | 65 "top", |
66 "right", | 66 "right", |
67 "bottom", | 67 "bottom", |
68 "left", | 68 "left", |
69 "float", | 69 "float", |
70 "clear", | 70 "clear", |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
275 "comment-no-empty": true, | 275 "comment-no-empty": true, |
276 | 276 |
277 "indentation": 2, | 277 "indentation": 2, |
278 "max-empty-lines": 1, | 278 "max-empty-lines": 1, |
279 "max-nesting-depth": 3, | 279 "max-nesting-depth": 3, |
280 "no-duplicate-selectors": true, | 280 "no-duplicate-selectors": true, |
281 "no-empty-source": true, | 281 "no-empty-source": true, |
282 "no-eol-whitespace": true, | 282 "no-eol-whitespace": true, |
283 "no-extra-semicolons": true, | 283 "no-extra-semicolons": true, |
284 "no-missing-end-of-source-newline": true, | 284 "no-missing-end-of-source-newline": true, |
285 "no-unsupported-browser-features": [ | 285 "no-unsupported-browser-features": [ |
Thomas Greiner
2017/07/07 21:45:01
Note that the requirements for the extension UIs d
| |
286 true, | 286 true, |
287 { | 287 { |
288 "browsers": "last 2 versions, > 1%, IE 8", | 288 "browsers": "last 2 versions, Safari 6, IE 8", |
ire
2017/07/07 15:51:29
Shouldn't this be "last 2 versions, IE >= 9" ?
juliandoucette
2017/07/07 20:15:04
Perhaps. We haven't set this is stone yet.
| |
289 "ignore": ["css-gencontent", "css-mediaqueries"] | 289 "ignore": ["css-gencontent", "css-mediaqueries"] |
juliandoucette
2016/11/10 11:42:58
Added to ignore because we polyfill these features
|
ire
2017/07/07 15:51:28
What about feature queries?
juliandoucette
2017/07/07 20:15:04
I didn't know that they existed at the time I made
|
290 } | 290 } |
291 ] | 291 ] |
292 } | 292 } |
293 } | 293 } |
LEFT | RIGHT |