stylelint
Advanced tools
Changelog
3.1.3
root
node, including: max-line-length
, max-empty-lines
, no-eol-whitespace
, no-missing-eof-newline
, and string-quotes
.rule-properties-order
to get confused by properties with an unspecified order.Changelog
3.1.2
null
was used on rules whose primary options are arrays.Changelog
3.1.0
stylelint-commands
ignore
option to comment-empty-line-before
.rule-properties-order
and potentially other rules that accept arrays as primary options.no-missing-eof-newline
no longer complains about completely empty files.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
.