Skip to content

Releases: francoismassart/eslint-plugin-tailwindcss

v3.6.0

28 Jun 12:25
Compare
Choose a tag to compare
  • ADD: support for new features from Tailwind CSS v3.1.0

    Custom dark class, .grid-flow-dense, .text-start, .text-end, .mix-blend-plus-lighter, .border-spacing...

  • BREAKING CHANGE: groups, groupByResponsive, officialSorting and prependCustom are deprecated ☠️.
    The official sorting from prettier-plugin-tailwindcss is always used by classnames-order.

    This was required in order to support classnames generated by plugins.

Other fixes:

Faster rules

08 Jun 14:56
Compare
Choose a tag to compare

Speeds up enforces-shorthand and classnames-order with officialSorting: true by introducing WeakMap caches to reduce duplicate calculations (by mpsijm 🙏)

officialSorting

22 Feb 09:38
Compare
Choose a tag to compare
  • New strategy for whitespaces and linebreaks: the plugin will attempt to leave them intact
  • New option officialSorting for classnames-order can be set to true in order to use the same ordering order as the official prettier-plugin-tailwindcss this new option FIX: #109

v3.4.4

11 Feb 08:04
Compare
Choose a tag to compare

v3.4.3

01 Feb 18:28
Compare
Choose a tag to compare

Fix #116

`enforces-negative-arbitrary-values` recommended

01 Feb 14:19
Compare
Choose a tag to compare

fix: update recommended preset to enable "enforces-negative-arbitrary-values" as "warn"

v3.4.1

01 Feb 14:10
Compare
Choose a tag to compare

v3.4.0

31 Jan 20:31
Compare
Choose a tag to compare

v3.3.7

31 Jan 09:39
Compare
Choose a tag to compare

v3.3.6

27 Jan 07:46
Compare
Choose a tag to compare

fix: #111 border-opacity-* should not trigger no-custom-classname rule but trigger instead migration-from-tailwind-2.