Tinkoff / linters

Tinkoff ESlint, Stylelint and Prettier linter configurations
Apache License 2.0
125 stars 24 forks source link

feat(stylelint-config): add `all` property to properties-order #234

Closed levensta closed 1 year ago

levensta commented 1 year ago

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

What is the current behavior?

all property is ignored by properties-order rule. This property allows to reset all CSS-styles but auto-fix mode can lead to unexpected behavior.

For example: https://codesandbox.io/s/all-unset-with-tinkoff-stylelint-6x4jlj

What is the new behavior?

all property has the highest priority in the order

Does this PR introduce a breaking change?