SCSS-Lint 0.23.0
This release is a mix of bug fixes and new linters. A linter to check out is the DuplicateRoot linter, which will check for duplicate selectors at the root level of a stylesheet.
- Fix character escaping in XML attributes output by
XMLReporter
- Fix bug in
ZeroUnit
where hex color codes or real numbers with a zero
decimal unit would report a false positive - Fix bug in
Shorthand
linter where!important
priority overrides would
prevent lints from being reported - Add
UnnecessaryMantissa
linter which checks for zero value decimals in
numbers (i.e. prefers4
over4.0
) XMLReporter
now includescolumn
andlength
information for lints- Fix class of bugs in
SpaceBeforeBrace
where a false positive could be
reported for braces that aren't part of declarations - Teach
Compass::PropertyWithMixin
to preferinline-block
mixin over
display: inline-block
- Add
DuplicateRoot
linter which checks for identical rules used as root
selectors in a document