Repository navigation
SCSS-Lint 0.29.0
Mostly bug fixes with a few new features. Most notable is the new linter SelectorFormat which renders the CapitalizationInSelector linter obsolete.
New features
- Add
TrailingZerolinter which checks for unnecessary zeros following a
decimal point - Add
SelectorFormatlinter which checks that the names of ids, classes, etc.
in selectors match a desired convention - Add JSON formatter
Changes
- Update list of known properties recognized by
PropertySpellinglint - Enhance
TrailingSemicolonto check for more than one semicolon at the end
of a statement - Remove
CapitalizationInSelector, which has been superseded by the more
powerfulSelectorFormatlinter
Bug Fixes
- Fix bug where SassScript selectors referring to the current selector would
result in a crash - Fix bug in
EmptyLineBetweenBlockslinter where lint would incorrectly be
reported when comments immediately followed the closing brace of a rule set - Fix bug in
PropertySortOrderwhere properties within media queries were
not checked for sort order - Fix bug in
UrlQuoteslinter where lint would be reported for data URIs - Fix bug in
UnnecessaryParentReferencewhere selectors with multiple&
references where one&was concatenated would incorrectly report a lint