1 # shorthand-property-no-redundant-values
3 Disallow redundant values in shorthand properties.
6 a { margin: 1px 1px 1px 1px; }
11 This rule alerts you when you use redundant values in the following shorthand properties:
21 The `--fix` option on the [command line](../../../docs/user-guide/cli.md#autofixing-errors) can automatically fix all of the problems reported by this rule.
27 The following patterns are considered violations:
30 a { margin: 1px 1px; }
34 a { margin: 1px 1px 1px 1px; }
38 a { padding: 1px 2px 1px; }
42 a { border-radius: 1px 2px 1px 2px; }
46 a { -webkit-border-radius: 1px 1px 1px 1px; }
49 The following patterns are *not* considered violations:
56 a { margin: 1px 1px 1px 2px; }
60 a { padding: 1px 1em 1pt 1pc; }
64 a { border-radius: 10px / 5px; }