|
1 | 1 | { |
2 | | - "extends": ["stylelint-config-standard", "stylelint-config-prettier"], |
3 | | - "plugins": ["stylelint-scss"], |
| 2 | + "extends": ["stylelint-config-standard-scss", "stylelint-config-prettier"], |
4 | 3 | "rules": { |
5 | 4 | "at-rule-no-unknown": null, |
6 | 5 | "scss/at-rule-no-unknown": [true], |
7 | 6 | "color-named": "never", |
8 | 7 | "color-hex-length": "long", |
9 | | - "function-blacklist": ["rgb", "hsl"], |
| 8 | + "function-disallowed-list": ["rgb", "hsl"], |
10 | 9 | "declaration-block-no-duplicate-properties": [ |
11 | 10 | true, |
12 | 11 | { |
13 | 12 | "ignore": ["consecutive-duplicates-with-different-values"] |
14 | 13 | } |
15 | 14 | ], |
16 | 15 | "declaration-empty-line-before": null, |
17 | | - "declaration-property-unit-whitelist": { |
| 16 | + "declaration-property-unit-allowed-list": { |
18 | 17 | "/^border(?!.*-radius$)/": ["px", "%"], |
19 | 18 | "/^border-radius/": ["px", "rem", "%"], |
20 | 19 | "/^box-shadow": ["px"], |
|
52 | 51 | { |
53 | 52 | "ignorePseudoClasses": ["global"] |
54 | 53 | } |
55 | | - ] |
| 54 | + ], |
| 55 | + "scss/at-import-partial-extension": null, |
| 56 | + "scss/comment-no-empty": null, |
| 57 | + "scss/double-slash-comment-empty-line-before": null, |
| 58 | + "scss/at-extend-no-missing-placeholder": null, |
| 59 | + "no-invalid-position-at-import-rule": null, |
| 60 | + "rule-empty-line-before": null, |
| 61 | + "selector-no-vendor-prefix": null, |
| 62 | + "alpha-value-notation": null, |
| 63 | + "color-function-notation": null, |
| 64 | + "scss/no-global-function-names": null, |
| 65 | + "value-keyword-case": null, |
| 66 | + "shorthand-property-no-redundant-values": null, |
| 67 | + "scss/operator-no-unspaced": null, |
| 68 | + "declaration-block-no-redundant-longhand-properties": null, |
| 69 | + "keyframes-name-pattern": null, |
| 70 | + "number-max-precision": null, |
| 71 | + "scss/dollar-variable-empty-line-before": null, |
| 72 | + "property-no-vendor-prefix": null |
56 | 73 | } |
57 | 74 | } |
0 commit comments