Repository navigation
SCSS-Lint 0.34.0
This release includes a large number of new linters.
One major change of note is removal of support for per-directory configuration files and the inherit_from directive in configuration files. From now on, only the .scss-lint.yml file found in the current directory that scss-lint is being run from will be loaded (or specified via the --config flag).
New Features
- Add
ImportantRulelinter which reports uses of!importantin properties - Add
VariableForPropertylinter which enforces using variables for
specified property values instead of literal values - Add
conventionoption toBorderZeroallowingnoneto be preferred over
zero - Add
separate_groupsoption toPropertySortOrderto specify that groups
of properties should be visually separated - Add
PropertyCountlinter which reports rule sets with a large number of
properties - Add
ColorVariablelinter which enforces the use of color literals in
variable declarations only - Add
break-after,break-before,break-inside, andtext-size-adjust
to list of recognized properties - Add
allow_non_nested_indentationoption toIndentationlinter - Allow files without
.scss/.cssextension to be linted if they are
passed explicitly (i.e. you do not specify a directory, but the file itself)
Changes
- Remove support for per-directory configuration and
inherit_fromfrom
the configuration system
Bug Fixes
- Fix bug in
StringQuoteswhere Sass script in non-silent comments would
cause a crash - Fix control comments placed before
@includeblocks to apply within them - Fix crash in
PropertySortOrderwhen non-existent preset sort order or
otherwise invalid sort order are specified in the configuration - Fix recognition of control comments in selector comma sequences
- Fix crash in
BangFormat,ImportantRule, andVendorPrefixeswhen linting
properties with list literals containing empty lists