NOBUG: Change travis.yml to MOODLE_33_STABLE
[moodle.git] / .stylelintrc
blob409123af52b027ce8cb00ddc6e641bec4da97de1
2     "rules": {
3         "at-rule-empty-line-before": [ "always",
4           {"except": [ "blockless-group"], ignore: ["after-comment", "all-nested"]}
5         ],
6         "at-rule-name-case": "lower",
7         "at-rule-name-space-after": "always-single-line",
8         "at-rule-no-unknown": null, # Enabled for non-scss in grunt.
9         "at-rule-semicolon-newline-after": "always",
10         "block-closing-brace-newline-after": "always",
11         "block-closing-brace-newline-before": "always-multi-line",
12         "block-closing-brace-space-before": "always-single-line",
13         "block-no-empty": true,
14         "block-no-single-line": true,
15         "block-opening-brace-newline-after": "always-multi-line",
16         "block-opening-brace-space-after": "always-single-line",
17         "block-opening-brace-space-before": "always",
18         "color-hex-case": ["lower", { "severity": "warning" }],
19         "color-hex-length": ["short", { "severity": "warning" }],
20         "color-no-invalid-hex": true,
21         "declaration-bang-space-after": "never",
22         "declaration-bang-space-before": "always",
23         "declaration-block-no-duplicate-properties": true,
24         "declaration-block-no-ignored-properties": true,
25         "declaration-block-no-shorthand-property-overrides": true,
26         "declaration-block-semicolon-newline-after": "always-multi-line",
27         "declaration-block-semicolon-space-after": "always-single-line",
28         "declaration-block-semicolon-space-before": "never",
29         "declaration-block-single-line-max-declarations": 1,
30         "declaration-block-trailing-semicolon": "always",
31         "declaration-colon-newline-after": "always-multi-line",
32         "declaration-colon-space-after": "always-single-line",
33         "declaration-colon-space-before": "never",
34         "declaration-no-important": true,
35         "function-calc-no-unspaced-operator": true,
36         "function-comma-newline-after": "always-multi-line",
37         "function-comma-space-after": "always-single-line",
38         "function-comma-space-before": "never",
39         "function-linear-gradient-no-nonstandard-direction": true,
40         "function-max-empty-lines": 0,
41         "function-name-case": "lower",
42         "function-parentheses-newline-inside": "always-multi-line",
43         "function-parentheses-space-inside": "never-single-line",
44         "function-url-data-uris": never,
45         "function-whitespace-after": "always",
46         "indentation": 4,
47         "keyframe-declaration-no-important": true,
48         "length-zero-no-unit": [true, { "severity": "warning" }],
49         "max-empty-lines": 2,
50         "max-line-length": [132, { "severity": "warning" }],
51         "media-feature-colon-space-after": "always",
52         "media-feature-colon-space-before": "never",
53         "media-feature-no-missing-punctuation": true,
54         "media-feature-parentheses-space-inside": "never",
55         "media-feature-range-operator-space-after": "always",
56         "media-feature-range-operator-space-before": "always",
57         "media-query-list-comma-newline-after": "always-multi-line",
58         "media-query-list-comma-space-after": "always-single-line",
59         "media-query-list-comma-space-before": "never",
60         "no-browser-hacks": null, # Enabled for non-scss in grunt.
61         "no-empty-source": true,
62         "no-eol-whitespace": true,
63         "no-extra-semicolons": [true, { "severity": "warning" }],
64         "no-invalid-double-slash-comments": true,
65         "no-unknown-animations": true,
66         "property-case": "lower",
67         "property-no-unknown": true,
68         "selector-attribute-brackets-space-inside": "never",
69         "selector-attribute-operator-space-after": "never",
70         "selector-attribute-operator-space-before": "never",
71         "selector-combinator-space-after": "always",
72         "selector-combinator-space-before": "always",
73         "selector-list-comma-newline-after": "always",
74         "selector-list-comma-space-before": "never",
75         "selector-max-empty-lines": 0,
76         "selector-pseudo-class-case": "lower",
77         "selector-pseudo-class-no-unknown": true,
78         "selector-pseudo-class-parentheses-space-inside": "never",
79         "selector-pseudo-element-case": "lower",
80         "selector-pseudo-element-no-unknown": true,
81         "selector-root-no-composition": true,
82         "selector-type-case": "lower",
83         "selector-type-no-unknown": true,
84         "string-no-newline": true,
85         "time-no-imperceptible": true,
86         "unit-blacklist": ["pt"],
87         "unit-case": "lower",
88         "unit-no-unknown": true,
89         "value-keyword-case": ["lower", {"ignoreKeywords": ["/(@|$)/"]}],
90         "value-list-comma-newline-after": "always-multi-line",
91         "value-list-comma-space-after": "always-single-line",
92         "value-list-comma-space-before": "never",
93   }