|
| 1 | +{ |
| 2 | + "plugins": [ |
| 3 | + "stylelint-scss", |
| 4 | + "stylelint-declaration-block-order" |
| 5 | + ], |
| 6 | + "rules": { |
| 7 | + number-leading-zero: always, |
| 8 | + value-list-comma-newline-after: always, |
| 9 | + value-list-comma-space-after: always, |
| 10 | + declaration-bang-space-after: always, |
| 11 | + declaration-bang-space-before: never, |
| 12 | + declaration-colon-space-after: always, |
| 13 | + declaration-colon-space-before: never, |
| 14 | + declaration-no-important: true, |
| 15 | + declaration-block-no-duplicate-properties: true, |
| 16 | + declaration-block-no-ignored-properties: true, |
| 17 | + declaration-block-no-redundant-longhand-properties: true, |
| 18 | + declaration-block-semicolon-newline-after: always, |
| 19 | + declaration-block-single-line-max-declarations: 1, |
| 20 | + declaration-block-trailing-semicolon: always, |
| 21 | + block-closing-brace-empty-line-before: never, |
| 22 | + block-closing-brace-newline-after: always, |
| 23 | + block-closing-brace-space-before: always, |
| 24 | + block-no-empty: true, |
| 25 | + block-no-single-line: true, |
| 26 | + block-opening-brace-newline-after: always-multi-line, |
| 27 | + block-opening-brace-space-before: always-single-line, |
| 28 | + selector-no-id: true, |
| 29 | + at-rule-semicolon-newline-after: true, |
| 30 | + at-rule-no-unknown: true, |
| 31 | + at-rule-name-case: lower, |
| 32 | + comment-empty-line-before: always, |
| 33 | + comment-no-empty: true, |
| 34 | + comment-whitespace-inside: always, |
| 35 | + indentation: 2, |
| 36 | + max-nesting-depth: 1, |
| 37 | + no-duplicate-selectors: true, |
| 38 | + no-eol-whitespace: true, |
| 39 | + no-extra-semicolons: true, |
| 40 | + no-invalid-double-slash-comments: true, |
| 41 | + no-missing-end-of-source-newline: true, |
| 42 | + "plugin/declaration-block-order": [ |
| 43 | + { |
| 44 | + type: 'at-rule', |
| 45 | + name: extend |
| 46 | + }, |
| 47 | + { |
| 48 | + type: 'at-rule', |
| 49 | + name: mixin |
| 50 | + }, |
| 51 | + 'declarations' |
| 52 | + ] |
| 53 | + } |
| 54 | +} |
0 commit comments