Skip to content

7.7.0

Compare
Choose a tag to compare
@jeddy3 jeddy3 released this 18 Dec 12:56
  • Added: stylelint.formatters exposed in public Node API (#2190).
  • Added: stylelint.utils.checkAgainstRule for checking CSS against a standard stylelint rule within your own rule (#2173).
  • Added: allow-empty-input flag to CLI (#2117).
  • Added: except: ["after-rule"] option to rule-nested-empty-line-before (#2188).
  • Fixed: regression causing --stdin-filename in CLI and codeFilename in Node API to error if a non-existent filename is provided (#2128).
  • Fixed: a boolean CLI flag (e.g. --quiet) placed before an input glob no longer causes the input to be ignored (#2186).
  • Fixed: the node_modules and bower_components directories are correctly ignored by default when stylelint is used as a PostCSS plugin (#2171).
  • Fixed: bug where some Node errors in special cases did not cause the CLI to exit with a non-zero code (#2140)
  • Fixed: false positives related to LESS detached rulesets (#2089).
  • Fixed: color-named now ignores SCSS maps, so map property names can be color names (#2182).
  • Fixed: comment-whitespace-inside no longer complains about /*! comments with non-space whitespace (e.g. newlines) (#2121).
  • Fixed: media-feature-name-no-vendor-prefix no longer throws syntax errors on unknown unprefixed variants (#2152).
  • Fixed: selector-max-compound-selectors ignores SCSS nested declarations (#2102).
  • Fixed: selector-pseudo-class-no-unknown no longer reports false positives for custom selectors (#2147).