Socket
Socket
Sign inDemoInstall

stylelint

Package Overview
Dependencies
Maintainers
7
Versions
238
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylelint - npm Package Versions

1
24

3.1.1

Diff

Changelog

Source

3.1.1

  • Fixed: Documentation improvements.
davidtheclark
published 3.1.0 •

Changelog

Source

3.1.0

  • Added: stylelint-commands ignore option to comment-empty-line-before.
  • Fixed: v3 regression causing bug in rule-properties-order and potentially other rules that accept arrays as primary options.
  • Fixed: no-missing-eof-newline no longer complains about completely empty files.
jeddy3
published 3.0.3 •

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.
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