This rule reports a utility that appears twice under the same conditions, such as
p-4 p-4. The second one adds nothing.
Reported
style("p-4 p-4");duplicate-utility: utility `p-4` is repeated under the same conditionsFixed
style("p-4");How to fix
Remove one of them. The automatic fix removes the repeated utility.
Two different utilities that set the same property are reported by conflicting-utilities instead.
Rule settings
| Preset | Severity |
|---|---|
recommended | warn |
strict | deny |
stylistic | off |
Configure lint to change the severity or options.