thoughtbot / stylelint-config

A shareable stylelint configuration that enforces thoughtbot’s Sass guides.
https://thoughtbot.com
MIT License
9 stars 2 forks source link

Lint for redundant shorthand values #29

Closed tysongach closed 4 years ago

tysongach commented 4 years ago

This rule lints for redundant values in shorthand properties. It will catch things like…

These redundant values:

a { margin: 1px 1px 1px 1px; }
//              ↑   ↑   ↑

Documentation: https://stylelint.io/user-guide/rules/shorthand-property-no-redundant-values