Socket
Socket
Sign inDemoInstall

stylelint

Package Overview
Dependencies
Maintainers
6
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

2.3.3

Diff

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.
jeddy3
published 2.3.1 •

Changelog

Source

2.3.1

  • Fixed: selector-no-type no longer flags the nesting selector (&).
jeddy3
published 2.3.0 •

Changelog

Source

2.3.0

  • Added: configFile option to PostCSS plugin.
  • Fixed: function-parentheses-newline-inside and function-parentheses-space-inside bug with nested functions.
davidtheclark
published 2.2.0 •

Changelog

Source

2.2.0

  • Added: selector-class-pattern rule.
  • Added: selector-id-pattern rule.
  • Added: function-parentheses-newline-inside rule.
  • Added: "always-single-line" and "never-single-line" options to function-parentheses-space-inside.
  • Fixed: CLI syntax argument bug.
jeddy3
published 2.1.0 •

Changelog

Source

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.
jeddy3
published 2.0.0 •

Changelog

Source

2.0.0

  • Changed: plugins are now included and configured via a "locator", rather than either being required or being inserted directly into the configuration object as a function.
  • Added: CLI.
  • Added: standalone Node.js API.
  • Added: quiet mode to CLI and Node.js API.
  • Added: support for formatters, including custom ones, to CLI and Node.js API.
  • Added: string and json formatters.
  • Added: support for using .stylelintrc JSON file.
  • Added: support for extending existing configs using the extends property.
  • Added: support for SCSS syntax parsing to CLI and Node.js API.
  • Added: function-comma-newline-after rule.
  • Added: function-comma-newline-before rule.
  • Added: "always-single-line" and "never-single-line" options to function-comma-space-after rule.
  • Added: "always-single-line" and "never-single-line" options to function-comma-space-before rule.
jeddy3
published 1.2.1 •

Changelog

Source

1.2.1

  • Fixed: the media-query-list-comma-* rules now only apply to @media statements.
jeddy3
published 1.2.0 •

Changelog

Source

1.2.0

  • Added: function-linear-gradient-no-nonstandard-direction rule.
  • Added: rule-properties-order now by default ignores the order of properties left out of your specified array; and the options "top", "bottom", and "ignore" are provided to change that behavior.
  • Added: rule-properties-order now looks for roots of hyphenated properties in custom arrays so each extension (e.g. padding-top as an extension of padding) does not need to be specified individually.
  • Added: "always-single-line" option to declaration-colon-space-after.
  • Added: support for declarations directly on root (e.g. Sass variable declarations).
  • Fixed: declaration-colon-newline-after "always-multi-line" warning message.
davidtheclark
published 1.1.0 •

Changelog

Source

1.1.0

  • Added: declaration-colon-newline-after rule.
  • Added: the indentation rule now checks indentation of multi-line at-rule params, unless there's the except option of param.
  • Added: support for end-of-line comments in selector-list-comma-newline-after.
  • Added: protection against #${sass-interpolation} in rules checking for hex colors.
  • Added: support for strings (translated to RegExps) in custom-property-pattern and custom-media-pattern.
  • Fixed: bug preventing various rules from registering the correct rule names in their warnings, and therefore also preventing them from being disabled with comments.
  • Fixed: the color-no-invalid-hex rule no longer flags hashes in url() arguments.
  • Fixed: rules using node.raw() instead of node.raws to avoid expected errors.
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