| extends: |
| - stylelint-config-standard |
| - stylelint-prettier/recommended |
| plugins: |
| - stylelint-order |
| rules: |
| declaration-property-value-allowed-list: |
| '/color/': |
| - "/^var\\(--/" |
| - 'transparent' |
| order/properties-alphabetical-order: true |
| unit-disallowed-list: |
| - 'px' |
| selector-class-pattern: null |
| # The following deprecation/unknown-value warnings were introduced by |
| # stylelint-config-standard 40 and flag pre-existing CSS (clip, display: box, |
| # word-break: break-word). Left as null here to keep the eslint/stylelint |
| # upgrade focused; revisit when modernizing the CSS. |
| declaration-property-value-keyword-no-deprecated: null |
| declaration-property-value-no-unknown: null |
| property-no-deprecated: null |
| # color-hex-case was removed in stylelint 16; case is now controlled by hex-color-case if needed. |