Skip to content

Releases: primer/stylelint-config

v11.1.0

02 Sep 22:49
b13c62c
Compare
Choose a tag to compare

Minor Changes

  • e83f61c #99 Thanks @jonrohan! - Create a no-deprecated-colors rule that looks for deprecated css color variables from primer/primitives.

Patch Changes

  • 581f40a #105 Thanks @jonrohan! - Adding reporting to the linter to know how many variables are replaced

v10.0.1

19 Mar 23:17
d607fbc
Compare
Choose a tag to compare

Patch Changes

  • aa76171 #90 Thanks @jonrohan! - Updating the no-undefined-variables lint for the new color-variables mixin.

v11.0.0

23 Feb 17:10
53cee60
Compare
Choose a tag to compare
  • Remove rules that clash with prettier (#89)

v10.0.0...v11.0.0

v9.3.3

17 Nov 22:24
1a32e42
Compare
Choose a tag to compare

Patch Changes

v9.3.2

16 Nov 22:21
3f635fa
Compare
Choose a tag to compare

Patch Changes

v9.3.0

09 Nov 22:22
4b71fde
Compare
Choose a tag to compare

🐛 Bug Fixes

  • The no-undefined-vars rule now understands variables defined with @include color-mode-var(...)
  • The no-undefined-vars rule now checks the last two parameters of the @include color-mode-var(...) mixin to ensure any CSS variables referenced are defined

🚀 Enhancements

  • Added no-scale-colors rule to ensure bare scale colors (which begin with --color-scale- or --color-auto-) are not used as property values

v9.2.4

29 Oct 20:40
17bb30d
Compare
Choose a tag to compare

🐛 Bug fixes

  • Fix variable recognition when fallback values are present

v9.2.3

29 Oct 20:01
bf6099f
Compare
Choose a tag to compare

🐛 Bug fixes

  • Fix no-undefined-vars to support values with CSS variable fallbacks

v9.2.2

29 Oct 19:59
0e07d72
Compare
Choose a tag to compare

🐛 Bug fixes

  • Update string.prototype.matchall to fix a transitive dependency issue

v9.2.1

02 Oct 17:12
4d7b154
Compare
Choose a tag to compare

🐛 Bug fixes

  • Fix slow runtime by caching variable definitions in primer/no-undefined-vars rule
  • Fix duplicate errors in primer/no-undefined-vars rule