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

6.3.3

Diff

Changelog

Source

6.3.3

  • Fixed: block-closing-brace-newline-before no longer delivers false positives for extra semicolon.
  • Fixed: declaration-block-no-ignored-properties now detects use of vertical-align with block-level elements.
  • Fixed: font-family-name-quotes is now case insensitive when hunting for font-family properties.
  • Fixed: number-zero-length-no-unit now ignores deg, grad, turn and rad units.
  • Fixed: selector-no-type does a better job when ignoring descendant and compound selectors.
jeddy3
published 6.3.2 •

Changelog

Source

6.3.2

  • Fixed: shorthand-property-no-redundant-values now handles uppercase values properly.
jeddy3
published 6.3.1 •

Changelog

Source

6.3.1

  • Fixed: declaration-block-no-ignored-properties now longer crashes on nested rules.
jeddy3
published 6.3.0 •

Changelog

Source

6.3.0

  • Deprecated: support for plugin rule names that aren't namespaced i.e. only your-namespace/your-rule-name rule names are supported. If your plugin provides only a single rule or you can't think of a good namespace, you can simply use plugin/my-rule).
  • Added: support for plugins that provides an array of rules.
  • Added: support for extracting and linting CSS from within HTML sources.
  • Added: --stdin-filename option to CLI.
  • Added: at-rule-name-space-after rule.
  • Added: no-extra-semicolons rule.
  • Added: selector-attribute-operator-space-after rule.
  • Added: selector-attribute-operator-space-before rule.
  • Added: selector-max-empty-lines rule.
  • Added: selector-pseudo-element-no-unknown rule.
  • Added: flexible support for end-of-line comments in at-rule-semicolon-newline-after, block-opening-brace-newline-after, and declaration-block-semicolon-newline-after.
  • Fixed: string and verbose formatters no longer use an ambiguous color schemes.
  • Fixed: string formatter no longer outputs an empty line if there are no problems.
  • Fixed: all rules now handle case insensitive CSS identifiers.
  • Fixed: function-comma-newline-after now allows end-of-line comments.
  • Fixed: function-url-quotes now ignores spaces within url().
  • Fixed: no-descending-specificity now ignores trailing colons within selectors.
  • Fixed: no-indistinguishable-colors now ignores keyword color names within url().
  • Fixed: number-max-precision now ignores @import at-rules and url() functions.
  • Fixed: selector-class-pattern and selector-id-pattern rules now ignore SCSS variable interpolation.
  • Fixed: value-list-comma-* rules now ignore SCSS maps.
jeddy3
published 6.2.2 •

Changelog

Source

6.2.2

  • Deprecated: stylelint.utils.cssWordIsVariable() as non-standard syntax utils are now defensive.
  • Fixed: declaration-colon-* rules now ignore SCSS lists.
  • Fixed: font-weight-notation now ignores SCSS interpolation.
  • Fixed: rule-nested-empty-line-before now ignores Less blockless rules (mixin and extend calls).
davidtheclark
published 6.2.1 •

Changelog

Source

6.2.1

  • Fixed: more problems with exposed stylelint.createRuleTester.
davidtheclark
published 6.2.0 •

Changelog

Source

6.2.0

  • Added: selector-no-qualifying-type rule.
  • Fixed: number-leading-zero will not check @import at-rules.
  • Fixed: selector-class-pattern now ignores non-outputting Less mixin definitions and called Less mixins.
  • Fixed: value-keyword-case now accounts for camelCase keywords (e.g. optimizeSpeed, optimizeLegibility and geometricPrecision) when the lower option is used.
  • Fixed: testUtils and stylelint.createRuleTester module mistakes.
jeddy3
published 6.1.1 •

Changelog

Source

6.1.1

  • Fixed: documentation links to selector-pseudo-class-parentheses-space-inside and selector-attribute-brackets-space-inside.
jeddy3
published 6.1.0 •

Changelog

Source

6.1.0

  • Added: support for .stylelintignore file.
  • Added: warning message in output when a file is ignored.
  • Added: comment-word-blacklist rule.
  • Added: selector-attribute-brackets-space-inside rule.
  • Added: selector-pseudo-class-parentheses-space-inside rule.
  • Added: shorthand-property-no-redundant-values rule.
  • Added: ignoreKeywords option for value-keyword-case.
  • Fixed: CRLF (\r\n) warning positioning in string-no-newline.
  • Fixed: parsing problems when using ///-SassDoc-style comments.
  • Fixed: max-empty-lines places warning at the end of the violating newlines to avoid positioning confusions.
davidtheclark
published 6.0.3 •

Changelog

Source

6.0.3

  • Fixed: CRLF (\r\n) warning positioning in max-empty-lines and function-max-empty-lines.
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