|
1 | 1 | { |
2 | | - "extends": ["stylelint-config-standard-scss"], |
3 | | - "plugins": ["stylelint-scss", "stylelint-prettier"], |
4 | | - "rules": { |
5 | | - "at-rule-disallowed-list": ["debug", { |
6 | | - "severity": "warning" |
7 | | - }], |
8 | | - "block-no-empty": true, |
9 | | - "color-hex-length": "short", |
10 | | - "color-no-invalid-hex": true, |
11 | | - "comment-no-empty": true, |
12 | | - "custom-property-pattern": "(?:igc-)?.+", |
13 | | - "declaration-block-no-duplicate-properties": true, |
14 | | - "declaration-block-no-shorthand-property-overrides": true, |
15 | | - "declaration-block-single-line-max-declarations": 1, |
16 | | - "font-family-no-duplicate-names": true, |
17 | | - "font-family-no-missing-generic-family-keyword": true, |
18 | | - "font-weight-notation": "numeric", |
19 | | - "function-calc-no-unspaced-operator": true, |
20 | | - "length-zero-no-unit": true, |
21 | | - "max-nesting-depth": [3, { |
22 | | - "severity": "warning" |
23 | | - }], |
24 | | - "no-descending-specificity": null, |
25 | | - "no-duplicate-at-import-rules": true, |
26 | | - "no-duplicate-selectors": true, |
27 | | - "no-invalid-double-slash-comments": true, |
28 | | - "property-no-unknown": true, |
29 | | - "rule-empty-line-before": ["always-multi-line", { |
30 | | - "except": ["first-nested"], |
31 | | - "ignore": ["after-comment"] |
32 | | - }], |
33 | | - "selector-attribute-quotes": "always", |
34 | | - "selector-pseudo-class-no-unknown": true, |
35 | | - "selector-pseudo-element-colon-notation": "double", |
36 | | - "selector-pseudo-element-no-unknown": true, |
37 | | - "selector-type-case": "lower", |
38 | | - "selector-type-no-unknown": [true, { |
39 | | - "ignore": ["custom-elements"] |
40 | | - }], |
41 | | - "shorthand-property-no-redundant-values": true, |
42 | | - "value-keyword-case": "lower", |
43 | | - "value-no-vendor-prefix": true, |
44 | | - "scss/at-mixin-pattern": null, |
45 | | - "scss/at-function-pattern": null, |
46 | | - "scss/dollar-variable-pattern": null, |
47 | | - "scss/at-else-closing-brace-newline-after": "always-last-in-chain", |
48 | | - "scss/at-else-closing-brace-space-after": "always-intermediate", |
49 | | - "scss/at-else-empty-line-before": "never", |
50 | | - "scss/at-if-closing-brace-newline-after": "always-last-in-chain", |
51 | | - "scss/at-if-closing-brace-space-after": "always-intermediate", |
52 | | - "scss/at-import-no-partial-leading-underscore": true, |
53 | | - "scss/at-mixin-argumentless-call-parentheses": "always", |
54 | | - "scss/at-mixin-parentheses-space-before": "never", |
55 | | - "scss/at-rule-no-unknown": true, |
56 | | - "scss/double-slash-comment-inline": "never", |
57 | | - "scss/dollar-variable-colon-newline-after": null, |
58 | | - "scss/dollar-variable-colon-space-after": "always", |
59 | | - "scss/selector-no-redundant-nesting-selector": true |
60 | | - } |
| 2 | + "extends": ["stylelint-config-standard-scss"], |
| 3 | + "plugins": ["stylelint-scss", "stylelint-prettier"], |
| 4 | + "rules": { |
| 5 | + "at-rule-disallowed-list": [ |
| 6 | + "debug", |
| 7 | + { |
| 8 | + "severity": "warning" |
| 9 | + } |
| 10 | + ], |
| 11 | + "block-no-empty": true, |
| 12 | + "color-hex-length": "short", |
| 13 | + "color-no-invalid-hex": true, |
| 14 | + "comment-no-empty": true, |
| 15 | + "custom-property-pattern": "(?:igc-)?.+", |
| 16 | + "declaration-block-no-duplicate-properties": true, |
| 17 | + "declaration-block-no-shorthand-property-overrides": true, |
| 18 | + "declaration-block-single-line-max-declarations": 1, |
| 19 | + "font-family-no-duplicate-names": true, |
| 20 | + "font-family-no-missing-generic-family-keyword": true, |
| 21 | + "font-weight-notation": "numeric", |
| 22 | + "function-calc-no-unspaced-operator": true, |
| 23 | + "length-zero-no-unit": true, |
| 24 | + "max-nesting-depth": [ |
| 25 | + 3, |
| 26 | + { |
| 27 | + "severity": "warning" |
| 28 | + } |
| 29 | + ], |
| 30 | + "no-descending-specificity": null, |
| 31 | + "no-duplicate-at-import-rules": true, |
| 32 | + "no-duplicate-selectors": true, |
| 33 | + "no-invalid-double-slash-comments": true, |
| 34 | + "property-no-unknown": true, |
| 35 | + "rule-empty-line-before": [ |
| 36 | + "always-multi-line", |
| 37 | + { |
| 38 | + "except": ["first-nested"], |
| 39 | + "ignore": ["after-comment"] |
| 40 | + } |
| 41 | + ], |
| 42 | + "selector-attribute-quotes": "always", |
| 43 | + "selector-pseudo-class-no-unknown": true, |
| 44 | + "selector-pseudo-element-colon-notation": "double", |
| 45 | + "selector-pseudo-element-no-unknown": true, |
| 46 | + "selector-type-case": "lower", |
| 47 | + "selector-type-no-unknown": [ |
| 48 | + true, |
| 49 | + { |
| 50 | + "ignore": ["custom-elements"] |
| 51 | + } |
| 52 | + ], |
| 53 | + "shorthand-property-no-redundant-values": true, |
| 54 | + "value-keyword-case": "lower", |
| 55 | + "value-no-vendor-prefix": true, |
| 56 | + "scss/at-mixin-pattern": null, |
| 57 | + "scss/at-function-pattern": null, |
| 58 | + "scss/dollar-variable-pattern": null, |
| 59 | + "scss/at-else-closing-brace-newline-after": "always-last-in-chain", |
| 60 | + "scss/at-else-closing-brace-space-after": "always-intermediate", |
| 61 | + "scss/at-else-empty-line-before": "never", |
| 62 | + "scss/at-if-closing-brace-newline-after": "always-last-in-chain", |
| 63 | + "scss/at-if-closing-brace-space-after": "always-intermediate", |
| 64 | + "scss/load-no-partial-leading-underscore": true, |
| 65 | + "scss/at-mixin-argumentless-call-parentheses": "always", |
| 66 | + "scss/at-mixin-parentheses-space-before": "never", |
| 67 | + "scss/at-rule-no-unknown": true, |
| 68 | + "scss/double-slash-comment-inline": "never", |
| 69 | + "scss/dollar-variable-colon-newline-after": null, |
| 70 | + "scss/dollar-variable-colon-space-after": "always", |
| 71 | + "scss/selector-no-redundant-nesting-selector": true |
| 72 | + } |
61 | 73 | } |
0 commit comments