Bump xds-server to latest version
[src/xds/xds-agent.git] / webapp / .stylelintrc.json
1 {
2   "rules": {
3     "color-hex-case": "lower",
4     "color-no-invalid-hex": true,
5
6     "function-calc-no-unspaced-operator": true,
7     "function-comma-space-after": "always-single-line",
8     "function-comma-space-before": "never",
9     "function-name-case": "lower",
10     "function-url-quotes": "always",
11     "function-whitespace-after": "always",
12
13     "number-leading-zero": "always",
14     "number-no-trailing-zeros": true,
15     "length-zero-no-unit": true,
16
17     "string-no-newline": true,
18     "string-quotes": "single",
19
20     "unit-case": "lower",
21     "unit-no-unknown": true,
22     "unit-whitelist": ["px", "%", "deg", "ms", "em", "vh", "vw", "s", "rem"],
23
24     "value-list-comma-space-after": "always-single-line",
25     "value-list-comma-space-before": "never",
26
27     "shorthand-property-no-redundant-values": true,
28
29     "property-case": "lower",
30
31     "declaration-block-no-duplicate-properties": [ true, {
32       "ignore": ["consecutive-duplicates-with-different-values"]
33     }],
34     "declaration-block-trailing-semicolon": "always",
35     "declaration-block-single-line-max-declarations": 1,
36     "declaration-block-semicolon-space-before": "never",
37     "declaration-block-semicolon-space-after": "always-single-line",
38     "declaration-block-semicolon-newline-before": "never-multi-line",
39     "declaration-block-semicolon-newline-after": "always-multi-line",
40     "declaration-property-value-blacklist": [
41       { "/.*/": ["initial"] },
42       { "message": "The `initial` value is not supported in IE."}
43     ],
44
45     "block-closing-brace-newline-after": [
46       "always",
47       {
48         "ignoreAtRules": ["if", "else"]
49       }
50     ],
51     "block-closing-brace-newline-before": "always-multi-line",
52     "block-opening-brace-newline-after": "always-multi-line",
53     "block-opening-brace-space-before": "always-multi-line",
54
55     "selector-attribute-brackets-space-inside": "never",
56     "selector-attribute-operator-space-after": "never",
57     "selector-attribute-operator-space-before": "never",
58     "selector-combinator-space-after": "always",
59     "selector-combinator-space-before": "always",
60     "selector-pseudo-class-case": "lower",
61     "selector-pseudo-class-parentheses-space-inside": "never",
62     "selector-pseudo-element-case": "lower",
63     "selector-pseudo-element-colon-notation": "double",
64     "selector-pseudo-element-no-unknown": true,
65     "selector-type-case": "lower",
66     "selector-max-id": 1,
67
68     "no-missing-end-of-source-newline": true,
69
70     "max-line-length": 120
71   }
72 }