Skip to content

Releases: primer/stylelint-config

v4.0.0

04 Feb 20:18

Choose a tag to compare

This is a major release that bumps two of our major dependencies (stylelint-scss and stylelint-order) by two major versions each, and reintroduces this package as a separate repository on GitHub. (See primer/css#652 for more info.)

v2.0.0

19 Jul 20:07

Choose a tag to compare

💥 Breaking changes

The following updates are breaking changes, since comments that disable the deprecated rules will now produce (failing) linting errors. Please update your stylelint-disable statements accordingly:

  • Replaced selector-no-id: true with selector-max-id: 0
  • Replaced selector-no-type: true with selector-max-type: 0

Updates

The rest of the changes should not introduce new linting errors:

  • Updated: moved browserslist spec to package.json
  • Updated: using the no-unsupported-browser-features plugin instead of the deprecated no-unsupported-browser-features rule
  • Removed: media-feature-no-missing-punctuation
  • Updated: replaced rule-nested-empty-line-before and rule-non-nested-empty-line-before with rule-empty-line-before