stylelint
Advanced tools
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.Changelog
2.3.0
configFile
option to PostCSS plugin.function-parentheses-newline-inside
and function-parentheses-space-inside
bug with nested functions.Changelog
2.2.0
selector-class-pattern
rule.selector-id-pattern
rule.function-parentheses-newline-inside
rule."always-single-line"
and "never-single-line"
options to function-parentheses-space-inside
.syntax
argument bug.Changelog
2.1.0
color-no-hex
rule.color-no-named
rule.function-blacklist
rule.function-whitelist
rule.unit-blacklist
rule.unit-whitelist
rule.property-unit-blacklist
rule.property-unit-whitelist
rule.rule-single-line-max-declarations
rule.max-line-length
rule.first-nested
exception to comment-empty-line-before
.*-blacklist
& -*whitelist
rules e.g. { "function-blacklist": "calc"}
rule-properties-order
.rule-properties-order
.function-calc-no-unspaced-operator
.function-space-after
.comment-space-inside
.comment-space-inside
allows any number of asterisks at the beginning and end of comments.{ unspecified: "bottom }"
option not to be applied within rule-properties-order
.function-comma-*
whitespace rules to improperly judge whether to enforce single- or multi-line options.Changelog
2.0.0
required
or being inserted directly into the configuration object as a function.string
and json
formatters..stylelintrc
JSON file.extends
property.function-comma-newline-after
rule.function-comma-newline-before
rule."always-single-line"
and "never-single-line"
options to function-comma-space-after
rule."always-single-line"
and "never-single-line"
options to function-comma-space-before
rule.Changelog
1.2.0
function-linear-gradient-no-nonstandard-direction
rule.rule-properties-order
now by default ignores the order of properties left out of your specified array; and the options "top"
, "bottom"
, and "ignore"
are provided to change that behavior.rule-properties-order
now looks for roots of hyphenated properties in custom arrays so each extension (e.g. padding-top
as an extension of padding
) does not need to be specified individually."always-single-line"
option to declaration-colon-space-after
.declaration-colon-newline-after
"always-multi-line"
warning message.