Skip to content

stylelint 4.3.0

  • Added: font-family-name-quotes rule.
  • Added: font-weight-notation rule.
  • Added: media-feature-no-missing-punctuation rule.
  • Added: no-duplicate-selectors rule.
  • Added: no-invalid-double-slash-comments rule.
  • Added: no-unknown-animations rule.
  • Added: property-value-blacklist rule.
  • Added: property-value-whitelist rule.
  • Added: time-no-imperceptible rule.
  • Added: ignore: "descendant" and ignore: "compounded" options for selector-no-type.
  • Added: support for regular expression property identification in property-blacklist, property-unit-blacklist, property-unit-whitelist, property-value-blacklist, and property-whitelist.
  • Added: better handling of vendor prefixes in property-unit-blacklist and property-unit-whitelist, e.g. if you enter animation it now also checks -webkit-animation.
  • Added: support for using names of modules for the CLI's --config argument, not just paths.
  • Added: codeFilename option to Node API.
  • Added: exposed rules at stylelint.rules to make stylelint even more extensible.
  • Added: brought stylelint-rule-tester into this repo, and exposed it at stylelint.utils.ruleTester.
  • Fixed: bug in rule-properties-order empty line detection when the two newlines were separated by some other whitespace.
  • Fixed: option parsing bug that caused problems when using the "alphabetical" primary option with rule-properties-order.
  • Fixed: regard an empty string as a valid CSS code.
  • Fixed: ignoreFiles handling of absolute paths.
  • Fixed: ignoreFiles uses the configBasedir option to interpret relative paths.