Any VS Code extension to highlight duplicate css properties? e.g
.test {
font-size: 14px;
...
font-size: 10px;
}
There are built-in settings which will flag duplicate properties :
// Do not use duplicate style definitions.
"css.lint.duplicateProperties": "ignore",
// Do not use duplicate style definitions.
"less.lint.duplicateProperties": "ignore",
// Do not use duplicate style definitions.
"scss.lint.duplicateProperties": "ignore"
Options are ignore
, warning
and error
. Default is "ignore
".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With