Repository navigation
SCSS-Lint 0.31.0
This release contains a large number of bug fixes for new features introduced by version 0.30.0.
A new feature that will be of interest to many is the ability to enable/disable lints via inline comments. A big thanks to @mbertolacci for the implementation!
New Features
- Add support for disabling/enabling linters via inline comments
- Add
smacsssort order option forPropertySortOrder - Add
recesssort order option forPropertySortOrder - Add
allow_leading_underscoreoption toNameFormatto allow the leading
underscore convention to denote private functions
Changes
- Change
IdWithExtraneousSelectortoIdSelectorand modify behavior to
always report a lint when an ID appears as part of a selector.
Bug Fixes
- Fix regression in default configuration for
QualifyingElementso that
elements with attributes, classes, or ids are disallowed by default - Fix error message for
TrailingSemicolonwhere lines without a semicolon
would incorrectly be reported as having a space before the semicolon - Fix
BangFormatlinter to not report lints for exclamation points in
strings - Update minimum version of
sassgem to 3.4.1 to fix a parser bug - Fix
DuplicatePropertynot reporting duplicate properties in nested rule
sets - Fix
TrailingSemicolonhandling of comma-separated@imports - Fix
SelectorFormatto not allow format of pseudo-selectors to be defined,
as they are always hyphenated lowercase - Fix
Indentationto not crash on@at-rootdirectives with comments inside - Fix
DuplicatePropertyto report correct name of duplicated property - Fix
EmptyLineBetweenBlocksto allow trailing comments after rule sets
(e.g. control comments disabling linters)