github stylelint/stylelint 11.0.0

latest releases: 16.5.0, 16.4.0, 16.3.1...
4 years ago
  • Changed: --report-needless-disables CLI flag now reports needless disables and runs linting (#4151).
  • Changed: display a violation at 1:1 for each file instead of throwing an error on unrecognised rules (#4237).
  • Changed: always return stylelintError as a boolean (#4174).
  • Deprecated: createRuleTester API (#4279).
  • Added: --reportInvalidScopeDisables CLI flag (#4181).
  • Added: unicode-bom rule (#4225).
  • Added: max-empty-lines autofix (#3667).
  • Added: selector-pseudo-element-case autofix (#3672).
  • Added: selector-* support for all logical combinations (:matches, :has) (#4179).
  • Added: ignore: ["selectors-within-list"] to no-descending-specificity (#4176).
  • Added: ignoreSelectors: [] to property-no-unknown (#4275).
  • Fixed: Babel user configuration interfering with CSS-in-JS parser (#4164).
  • Fixed: PostCSS plugin ignoring .stylelintignore (#4186).
  • Fixed: *-max-empty-lines to only report one violation per function, selector, value list (#4260).
  • Fixed: block-no-empty crash for @import statements (#4110).
  • Fixed: indentation false positives for <style> tag with multiline attributes (#4177).
  • Fixed: length-zero-no-unit false positives for inside calc function (#4175).
  • Fixed: max-line-length false positives for multi-line url() (#4169).
  • Fixed: no-duplicate-selectors false positives for selectors in the same selector list (#4173).
  • Fixed: no-unit-unknown false positives for at-variables (Less) starting with numbers (#4163).
  • Fixed: property-no-unknown for overflowX for CSS-in-JS (#4184).

Don't miss a new stylelint release

NewReleases is sending notifications on new releases.