Skip to content

SCSS-Lint 0.23.0

Compare
Choose a tag to compare
@sds sds released this 22 Apr 00:28
· 918 commits to main since this release

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. prefers 4 over 4.0)
  • XMLReporter now includes column and length 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 prefer inline-block mixin over
    display: inline-block
  • Add DuplicateRoot linter which checks for identical rules used as root
    selectors in a document