Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

stylelint

Package Overview
Dependencies
Maintainers
5
Versions
240
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylelint - npm Package Versions

1
24

4.3.1

Diff

Changelog

Source

4.3.1

  • Fixed: include testUtils in npm package whitelist.
jeddy3
published 4.3.0 •

Changelog

Source

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.js 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.
davidtheclark
published 4.2.0 •

Changelog

Source

4.2.0

  • Added: support for custom messages with a message secondary property on any rule.
  • Fixed: CLI always ignores contents of node_modules and bower_components directories.
  • Fixed: bug preventing CLI from understanding absolute paths in --config argument.
  • Fixed: bug causing indentation to stumble over declarations with semicolons on their own lines.
jeddy3
published 4.1.0 •

Changelog

Source

4.1.0

  • Added: helpful option validation message when object is expected but non-object provided.
  • Fixed: selector-no-id no longer warns about Sass interpolation when multiple interpolations are used in a selector.
jeddy3
published 4.0.0 •

Changelog

Source

4.0.0

  • Removed: support for legacy numbered severities.
  • Added: support for extensions on .stylelintrc files (by upgrading cosmiconfig).
  • Added: ignore: "non-comments" option to max-line-length.
  • Fixed: function-whitespace-after does not expect space between ) and }, so it handles Sass interpolation better.
jeddy3
published 3.2.3 •

Changelog

Source

3.2.3

  • Fixed: selector-no-vendor-prefix now handles custom-property-sets.
jeddy3
published 3.2.2 •

Changelog

Source

3.2.2

  • Fixed: selector-no-type ignores nth-child pseudo-classes and @keyframes selectors.
jeddy3
published 3.2.1 •

Changelog

Source

3.2.1

  • Fixed: max-line-length handles url() functions better.
  • Fixed: block-opening-brace-newline-after and declaration-block-semicolon-newline-after handle end-of-line comments better.
davidtheclark
published 3.2.0 •

Changelog

Source

3.2.0

  • Added: legacyNumberedSeverities config property to force the legacy severity system.
  • Added: selector-no-id ignores Sass-style interpolation.
  • Fixed: bug causing extended config to override the config that extends it.
davidtheclark
published 3.1.4 •

Changelog

Source

3.1.4

  • Fixed: stopped hijacking --config property in PostCSS and Node.js APIs. Still using it in the CLI.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc