stylelint
Advanced tools
Changelog
3.0.0-3.0.2
nesting-block-opening-brace-space-before
and nesting-block-opening-brace-newline-before
rules.4.0
.rule-single-line-max-declarations
to declaration-block-single-line-max-declarations
and changed scope of the single-line to the declaration block.rule-no-single-line
to declaration-block-no-single-line
and changed scope of the single-line to the declaration block.function-space-after
rule to function-whitespace-after
.comment-space-inside
rule to comment-whitespace-inside
.no-multiple-empty-lines
rule to max-empty-lines
(takes an int
as option).plugins
is now an array instead of an object. And plugins should be created with stylelint.createPlugin()
..stylelintrc
stylelint.config.js
stylelint
property in package.json
ignoreFiles
option to config.configFile
option to Node.js API.comment-whitespace-inside
now ignores copyright (/*!
) and sourcemap (/*#
) comments.rule-no-duplicate-properties
now ignores the src
property.Changelog
13.0.0
globby
was updated to v10. Now only forward-slashes (/
) should be used as directory separator in globs. Refer to glob pattern syntax. Most of the users wouldn't need to change anything, but Windows users might need to update their globs. (#4254).unit-no-unknown
support for x
unit (#4427).--report-invalid-scope-disables
crash when no rules specified (#4498).media-feature-parentheses-space-inside
false negatives for multiple spaces (#4513).selector-type-no-unknown
false positives for SVG tags (#4495).unit-no-unknown
false positives for Sass map keys (#4450).value-list-comma-newline-after
false positives for shared-line comments (#4482).Changelog
2.3.7
function-calc-no-unspaced-operator
ignores characters in $sass
and @less
variables.rule-properties-order
allows comments at the top of groups that expect newlines before them.styleSearch()
and the rules it powers will not trip up on single-line (//
) comments.selector-combinator-space-before
now better handles nested selectors starting with combinators.rule-properties-order
now deals property with -moz-osx-font-smoothing
.Changelog
2.3.6
rule-properties-order
now accounts for property names containing multiple hyphens.rule-properties-order
grouping bug.Changelog
2.3.5
selector-pseudo-element-colon-notation
typo in rule name resulting in undefined severity.Changelog
2.3.3
property-whitelist
, rule-no-duplicate-properties
, and rule-properties-order
ignore variables ($sass
, @less
, and --custom-property
).root-no-standard-properties
ignores $sass
and @less
variables.comment-empty-line-before
and comment-space-inside
no longer complain about //
comments.