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

6.7.1

Diff

Changelog

Source

6.7.1

  • Fixed: block-*-brace-*-before CRLF (\r\n) warning positioning.
  • Fixed: no-descending-specificity now does comparison of specificity using ints, rather than strings.
  • Fixed: selector-no-type and selector-type-case now ignore non-standard keyframe selectors (e.g. within an SCSS mixin).
  • Fixed: selector-type-no-unknown no longer reports fractional keyframe selectors.
jeddy3
published 6.7.0 •

Changelog

Source

6.7.0

  • Added: ignoreFunctions: [] option for function-name-case.
  • Fixed: rules using findFontFamily util correctly interpret <font-size>/<line-height> values with unitless line-heights.
  • Fixed: indentation better understands nested parentheticals that aren't just Sass maps and lists.
  • Fixed: no-unsupported-browser-features message now clearly states that only fully supported features are allowed.
  • Fixed: selector-max-specificity no longer reports that a selector with 11 elements or more has a higher specificity than a selector with a single classname.
  • Fixed: selector-type-no-unknown no longer warns for complex keyframe selectors.
jeddy3
published 6.6.0 •

Changelog

Source

6.6.0

  • Deprecated: number-zero-length-no-unit. Use length-zero-no-unit instead.
  • Deprecated: property-*-blacklist and property-*-whitelist. Use declaration-property-*-blacklist and declaration-property-*-whitelist instead.
  • Deprecated: -v and --verbose CLI flags. Use -f verbose or --formatter verbose instead.
  • Deprecated: stylelint.util.styleSearch(). Use the external module style-search instead.
  • Added: option ignorePath (for JS) and --ignore-path (for CLI).
  • Added: -h alias for --help CLI flag.
  • Added: at-rule-blacklist rule.
  • Added: at-rule-name-newline-after rule.
  • Added: at-rule-whitelist rule.
  • Added: ignore: "blockless-group" option for at-rule-empty-line-before.
  • Added: ignoreAtRules: [] option for at-rule-empty-line-before.
  • Added: function-blacklist now accepts regular expressions.
  • Added: function-whitelist now accepts regular expressions.
  • Fixed: crash when tty columns is reported as zero, which happened when running Stylelint on Travis CI in OSX.
  • Fixed: selector-targeting rules ignore Less mixins and extends.
  • Fixed: at-rule-name-newline-after now correctly accepts one or more newlines.
  • Fixed: declaration-block-semicolon-newline-before now correctly accepts one or more newlines.
  • Fixed: function-url-quotes ignores values containing $sass and @less variables.
  • Fixed: function-whitespace-after ignores postcss-simple-vars-style interpolation.
  • Fixed: indentation better understands nested parentheticals, like nested Sass maps.
  • Fixed: no-extra-semicolons reports errors on the correct line.
  • Fixed: selector-combinator-space-* rules now ignore escaped combinator-like characters.
  • Fixed: selector-type-no-unknown ignores non-standard usage of percentage keyframe selectors (e.g. within an SCSS mixin).
  • Fixed: value-keyword-case now ignores custom idents of properties animation, font, list-style.
jeddy3
published 6.5.1 •

Changelog

Source

6.5.1

  • Deprecated: "emptyLineBefore" option for declaration-block-properties-order. If you use this option, please consider creating a plugin for the community.
  • Deprecated: "single-where-required", "single-where-recommended", "single-unless-keyword", "double-where-required", "double-where-recommended" and "double-unless-keyword" options for font-family-name-quotes. Instead, use the "always-unless-keyword", always-where-recommended or always-where-required options together with the string-quotes rule.
  • Deprecated: "single", "double" and "none" options for function-url-quotes. Instead, use the "always" or "never" options together with the string-quotes rule.
  • Deprecated: "hierarchicalSelectors" option for indentation. If you use this option, please consider creating a plugin for the community.
  • Fixed: the string formatter no longer errors on non-rule errors.
  • Fixed: selector-list-comma-* rules now ignore Less mixins.
  • Fixed: selector-max-compound-selectors no longer errors on Less mixins.
  • Fixed: selector-type-no-unknown now ignores all An+B notation and linguistic pseudo-classes.
  • Fixed: selector-type-no-unknown now ignores obsolete HTML tags and <hgroup>.
jeddy3
published 6.5.0 •

Changelog

Source

6.5.0

  • Added: selector-max-compound-selectors rule.
  • Fixed: babel-polyfill removed so it doesn't clash with other processes using babel-polyfill.
  • Fixed: selector-type-case and selector-type-no-unknown rules now ignore SCSS placeholder selectors.
jeddy3
published 6.4.2 •

Changelog

Source

6.4.2

  • Fixed: selector-pseudo-class-case, selector-pseudo-class-no-unknown, selector-pseudo-element-case, selector-pseudo-element-no-unknown rules now ignore SCSS variable interpolation.
  • Fixed: selector-type-no-unknown now ignores nested selectors and keyframe selectors.
jeddy3
published 6.4.1 •

Changelog

Source

6.4.1

  • Fixed: shorthand-property-no-redundant-values now ignores background, font, border, border-top, border-bottom, border-left, border-right, list-style, transition properties.
  • Fixed: unit-no-unknown now ignores hex colors.
davidtheclark
published 6.4.0 •

Changelog

Source

6.4.0

  • Added: keyframe-declaration-no-important rule.
  • Added: selector-attribute-operator-blacklist rule.
  • Added: selector-attribute-operator-whitelist rule.
  • Added: selector-pseudo-class-no-unknown rule.
  • Added: selector-type-no-unknown rule.
  • Fixed: string formatter no longer errors on multi-byte message.
  • Fixed: catch errors thrown by postcss-selector-parser and register them as PostCSS warnings, providing a better UX for editor plugins.
  • Fixed: some rules now better handle case insensitive CSS identifiers.
  • Fixed: font-family-name-quotes, media-feature-no-missing-punctuation, media-query-list-comma-newline-after, media-query-list-comma-newline-before, media-query-list-comma-space-after and media-query-list-comma-space-before rules now better ignore SCSS, Less variables and nonstandard at-rules.
  • Fixed: no-unknown-animations now ignores ease value.
  • Fixed: unit-blacklist, unit-case, unit-no-unknown, unit-whitelist now better accounts interpolation.
  • Fixed: unit-no-unknown no longer breaks Node.js 0.12 (because we've included the Babel polyfill).
  • Fixed: value-keyword-case now ignores custom idents of properties animation-name, counter-increment, font-family, grid-row, grid-column, grid-area, list-style-type.
  • Fixed: wrong example for always-multi-line in rule block-opening-brace-newline-before documentation.
jeddy3
published 6.3.3 •

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