Skip to content

v3.0.0 – Stylelint 15

Latest
Compare
Choose a tag to compare
@thibaudcolas thibaudcolas released this 17 Aug 13:37
· 34 commits to main since this release

3.0.0 (2023-08-17)

Features

  • Update stylelint to v15 (#28).
  • Update all config dependencies to their latest releases, compatible with stylelint v15 (#28).
  • Remove dependency on stylelint-config-prettier, which is no longer needed with stylelint v15 (#28).
  • Change enforced rules from stylelint-config-standard, including 10 new rules (see list below) (#28).

BREAKING CHANGES

The configuration now mandates stylelint v15, and no longer uses stylelint-config-prettier. Stylelint has stopped enforcing formatting-related rules, which are no longer relevant with the majority of projects now using Prettier for formatting. See Stylelint’s official Migrating to 15.0.0 documentation.

The configuration also switches from stylelint-config-standard to stylelint-config-standard-scss, which more correctly disables CSS-only rules and replaces them with SCSS-aware rules.

Newly enforced rules:

New rules which have been explicitly disabled:

Rules which have been replaced by a Sass-specific equivalent:

  • comment-no-empty (replaced with scss/comment-no-empty)
  • function-no-unknown (replaced with scss/function-no-unknown)

New formatting rules which are enforced:

Formatting rules which are no longer enforced: