New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

stylelint

Package Overview
Dependencies
Maintainers
0
Versions
246
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylelint - npm Package Versions

1
25

3.0.3

Diff

Changelog

Source

3.0.3

  • Fixed: list of rules within documentation.
davidtheclark
published 3.0.2 •

Changelog

Source

3.0.0-3.0.2

  • Removed: nesting-block-opening-brace-space-before and nesting-block-opening-brace-newline-before rules.
  • Deprecated: numbered severities (0, 1, 2) and will be disabled in 4.0.
  • Changed: renamed rule-single-line-max-declarations to declaration-block-single-line-max-declarations and changed scope of the single-line to the declaration block.
  • Changed: renamed rule-no-single-line to declaration-block-no-single-line and changed scope of the single-line to the declaration block.
  • Changed: renamed the function-space-after rule to function-whitespace-after.
  • Changed: renamed the comment-space-inside rule to comment-whitespace-inside.
  • Changed: renamed the no-multiple-empty-lines rule to max-empty-lines (takes an int as option).
  • Changed: plugins is now an array instead of an object. And plugins should be created with stylelint.createPlugin().
  • Added: cosmiconfig, which means the following:
    • support for YAML .stylelintrc
    • support for stylelint.config.js
    • support for stylelint property in package.json
    • alternate config loading system, which stops at the first config found
  • Added: asynchronicity to the PostCSS plugin.
  • Added: ignoreFiles option to config.
  • Added: configFile option to Node.js API.
  • Fixed: comment-whitespace-inside now ignores copyright (/*!) and sourcemap (/*#) comments.
  • Fixed: rule-no-duplicate-properties now ignores the src property.
davidtheclark
published 3.0.1 •

davidtheclark
published 3.0.0 •

Changelog

Source

13.0.0

  • Removed: Node.js 8.x support. Node.js 10 is now required. We can guarantee Stylelint works on the latest Node.js 10 release. (#4500).
  • Removed: types declarations for Flow (#4451).
  • Changed: globby was updated to v10. Now only forward-slashes (/) should be used as directory separator in globs. Refer to glob pattern syntax. Most of the users wouldn't need to change anything, but Windows users might need to update their globs. (#4254).
  • Added: unit-no-unknown support for x unit (#4427).
  • Fixed: --report-invalid-scope-disables crash when no rules specified (#4498).
  • Fixed: media-feature-parentheses-space-inside false negatives for multiple spaces (#4513).
  • Fixed: selector-type-no-unknown false positives for SVG tags (#4495).
  • Fixed: unit-no-unknown false positives for Sass map keys (#4450).
  • Fixed: value-list-comma-newline-after false positives for shared-line comments (#4482).
  • Fixed: consistently check that selectors are standard before passing to the parser (#4483).
  • Fixed: overlapping disabled ranges edge case (#4497).
davidtheclark
published 2.3.7 •

Changelog

Source

2.3.7

  • Fixed: function-calc-no-unspaced-operator ignores characters in $sass and @less variables.
  • Fixed: rule-properties-order allows comments at the top of groups that expect newlines before them.
  • Fixed: styleSearch() and the rules it powers will not trip up on single-line (//) comments.
  • Fixed: selector-combinator-space-before now better handles nested selectors starting with combinators.
  • Fixed: rule-properties-order now deals property with -moz-osx-font-smoothing.
jeddy3
published 2.3.6 •

Changelog

Source

2.3.6

  • Fixed: improved documentation of CLI globbing possibilities.
  • Fixed: rule-properties-order now accounts for property names containing multiple hyphens.
  • Fixed: rule-properties-order grouping bug.
davidtheclark
published 2.3.5 •

Changelog

Source

2.3.5

  • Added: error about undefined severities blaming Stylelint for the bug.
  • Fixed: selector-pseudo-element-colon-notation typo in rule name resulting in undefined severity.
davidtheclark
published 2.3.4 •

Changelog

Source

2.3.4

  • Fixed: dist/ build.
davidtheclark
published 2.3.3 •

Changelog

Source

2.3.3

  • Fixed: property-whitelist, rule-no-duplicate-properties, and rule-properties-order ignore variables ($sass, @less, and --custom-property).
  • Fixed: root-no-standard-properties ignores $sass and @less variables.
  • Fixed: comment-empty-line-before and comment-space-inside no longer complain about // comments.
jeddy3
published 2.3.2 •

Changelog

Source

2.3.2

  • Fixed: number-no-trailing-zeros no longer flags at-import at-rules.
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