Skip to content

stylelint 2.1.0

  • Added: color-no-hex rule.
  • Added: color-no-named rule.
  • Added: function-blacklist rule.
  • Added: function-whitelist rule.
  • Added: unit-blacklist rule.
  • Added: unit-whitelist rule.
  • Added: property-unit-blacklist rule.
  • Added: property-unit-whitelist rule.
  • Added: rule-single-line-max-declarations rule.
  • Added: max-line-length rule.
  • Added: first-nested exception to comment-empty-line-before.
  • Added: single value options to *-blacklist & -*whitelist rules e.g. { "function-blacklist": "calc"}
  • Added: support for flexible groups to rule-properties-order.
  • Added: support for an optional empty line between each group to rule-properties-order.
  • Added: support for mathematical signs in front of Sass and Less variables in function-calc-no-unspaced-operator.
  • Added: support for arbitrary whitespace after function in function-space-after.
  • Added: support for arbitrary whitespace at the edge of comments in comment-space-inside.
  • Fixed: comment-space-inside allows any number of asterisks at the beginning and end of comments.
  • Fixed: bug causing { unspecified: "bottom }" option not to be applied within rule-properties-order.
  • Fixed: bug causing function-comma-* whitespace rules to improperly judge whether to enforce single- or multi-line options.
  • Fixed: bug when loading plugins from an extended config
  • Fixed: indentation for function arguments, by ignoring them.