stylelint
Advanced tools
Changelog
6.3.1
declaration-block-no-ignored-properties
now longer crashes on nested rules.Changelog
6.3.0
your-namespace/your-rule-name
rule names are supported. If your plugin provides only a single rule or you can't think of a good namespace, you can simply use plugin/my-rule
).--stdin-filename
option to CLI.at-rule-name-space-after
rule.no-extra-semicolons
rule.selector-attribute-operator-space-after
rule.selector-attribute-operator-space-before
rule.selector-max-empty-lines
rule.selector-pseudo-element-no-unknown
rule.at-rule-semicolon-newline-after
, block-opening-brace-newline-after
, and declaration-block-semicolon-newline-after
.function-comma-newline-after
now allows end-of-line comments.function-url-quotes
now ignores spaces within url()
.no-descending-specificity
now ignores trailing colons within selectors.no-indistinguishable-colors
now ignores keyword color names within url()
.number-max-precision
now ignores @import
at-rules and url()
functions.selector-class-pattern
and selector-id-pattern
rules now ignore SCSS variable interpolation.value-list-comma-*
rules now ignore SCSS maps.Changelog
6.2.2
stylelint.utils.cssWordIsVariable()
as non-standard syntax utils are now defensive.declaration-colon-*
rules now ignore SCSS lists.font-weight-notation
now ignores SCSS interpolation.rule-nested-empty-line-before
now ignores Less blockless rules (mixin and extend calls).Changelog
6.2.1
stylelint.createRuleTester
.Changelog
6.2.0
selector-no-qualifying-type
rule.number-leading-zero
will not check @import
at-rules.selector-class-pattern
now ignores non-outputting Less mixin definitions and called Less mixins.value-keyword-case
now accounts for camelCase keywords (e.g. optimizeSpeed
, optimizeLegibility
and geometricPrecision
) when the lower
option is used.testUtils
and stylelint.createRuleTester
module mistakes.Changelog
6.1.1
selector-pseudo-class-parentheses-space-inside
and selector-attribute-brackets-space-inside
.Changelog
6.1.0
.stylelintignore
file.comment-word-blacklist
rule.selector-attribute-brackets-space-inside
rule.selector-pseudo-class-parentheses-space-inside
rule.shorthand-property-no-redundant-values
rule.ignoreKeywords
option for value-keyword-case
.\r\n
) warning positioning in string-no-newline
.///
-SassDoc-style comments.max-empty-lines
places warning at the end of the violating newlines to avoid positioning confusions.Changelog
6.0.3
\r\n
) warning positioning in max-empty-lines
and function-max-empty-lines
.Changelog
6.0.2
CssSyntaxError
sets errored
on output to true
.