stylelint
Advanced tools
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.Changelog
1.1.0
declaration-colon-newline-after
rule.indentation
rule now checks indentation of multi-line at-rule params, unless there's the except
option of param
.selector-list-comma-newline-after
.#${sass-interpolation}
in rules checking for hex colors.custom-property-pattern
and custom-media-pattern
.color-no-invalid-hex
rule no longer flags hashes in url()
arguments.node.raw()
instead of node.raws
to avoid expected errors.Changelog
1.0.1
postcss-selector-parser
updated to improve location accuracy for selector-no-*
rules.Changelog
1.0.0
4.x
.5.0.2+
.Changelog
0.8.0
after-comment
ignore
option to the at-rule-empty-line-before
rule.indentation
rule now correctly handles *
hacks on property names.media-feature-colon-space-after
and media-feature-colon-space-before
rules now only apply to @media
statements.rule-no-shorthand-property-overrides
rule message is now consistent with the other messages.Changelog
0.7.0
validateOptions()
.