|
2 | 2 | "cache": true, |
3 | 3 | "defaultSeverity": "warning", |
4 | 4 | "extends": [ |
5 | | - "stylelint-config-standard", |
6 | | - "@stylistic/stylelint-config" |
| 5 | + "stylelint-config-html", |
| 6 | + "stylelint-config-recommended-vue", |
| 7 | + "stylelint-config-standard" |
7 | 8 | ], |
8 | 9 | "fix": true, |
9 | | - "plugins": [ |
10 | | - "@stylistic/stylelint-plugin" |
11 | | - ], |
12 | 10 | "rules": { |
13 | 11 | "color-function-notation": "modern", |
14 | 12 | "color-hex-length": "long", |
15 | 13 | "comment-whitespace-inside": "always", |
16 | 14 | "custom-property-empty-line-before": "never", |
17 | 15 | "declaration-block-no-redundant-longhand-properties": false, |
| 16 | + "declaration-block-no-shorthand-property-overrides": true, |
18 | 17 | "declaration-empty-line-before": "never", |
19 | 18 | "declaration-property-unit-allowed-list": { |
20 | 19 | "font-size": [ |
21 | 20 | "px", |
22 | | - "rem" |
| 21 | + "rem", |
| 22 | + "vh", |
| 23 | + "vw" |
23 | 24 | ] |
24 | 25 | }, |
25 | 26 | "font-family-name-quotes": "always-unless-keyword", |
26 | 27 | "font-weight-notation": "numeric", |
27 | 28 | "function-name-case": "lower", |
28 | 29 | "function-url-quotes": "always", |
29 | | - "@stylistic/indentation": 4, |
30 | 30 | "import-notation": "string", |
31 | 31 | "max-nesting-depth": 2, |
32 | 32 | "media-feature-range-notation": "prefix", |
33 | | - "rule-empty-line-before": "always", |
| 33 | + "rule-empty-line-before": [ |
| 34 | + "always", |
| 35 | + { |
| 36 | + "except": "first-nested" |
| 37 | + } |
| 38 | + ], |
34 | 39 | "selector-attribute-quotes": "always", |
35 | 40 | "selector-class-pattern": null, |
36 | 41 | "selector-max-compound-selectors": 3, |
|
42 | 47 | "overrides": [ |
43 | 48 | { |
44 | 49 | "files": [ |
45 | | - "*.scss", |
46 | 50 | "**/*.scss" |
47 | 51 | ], |
48 | 52 | "extends": [ |
49 | 53 | "stylelint-config-standard-scss" |
50 | 54 | ], |
51 | 55 | "rules": { |
52 | | - "scss/at-if-closing-brace-newline-after": null, |
53 | | - "scss/at-if-closing-brace-space-after": null, |
54 | | - "scss/at-else-closing-brace-newline-after": null, |
55 | | - "scss/at-else-closing-brace-space-after": null, |
56 | 56 | "scss/at-mixin-named-arguments": "always", |
57 | 57 | "scss/dollar-variable-empty-line-after": [ |
58 | 58 | "always", |
59 | 59 | { |
60 | | - "expect": [ |
| 60 | + "except": [ |
61 | 61 | "last-nested", |
62 | 62 | "before-dollar-variable" |
63 | 63 | ], |
|
78 | 78 | ] |
79 | 79 | } |
80 | 80 | ], |
81 | | - "scss/dollar-variable-no-missing-interpolation": true, |
82 | | - "scss/operator-no-unspaced": true |
| 81 | + "scss/dollar-variable-no-missing-interpolation": true |
83 | 82 | } |
84 | 83 | } |
85 | 84 | ] |
|
0 commit comments