Releases: francoismassart/eslint-plugin-tailwindcss
Releases · francoismassart/eslint-plugin-tailwindcss
v3.6.1
v3.6.0
- 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
andprependCustom
are deprecated ☠️.
The official sorting fromprettier-plugin-tailwindcss
is always used byclassnames-order
.This was required in order to support classnames generated by plugins.
Other fixes:
Faster rules
Speeds up enforces-shorthand
and classnames-order
with officialSorting: true
by introducing WeakMap caches to reduce duplicate calculations (by mpsijm 🙏)
officialSorting
- New strategy for whitespaces and linebreaks: the plugin will attempt to leave them intact
- New option
officialSorting
forclassnames-order
can be set totrue
in order to use the same ordering order as the officialprettier-plugin-tailwindcss
this new option FIX: #109
v3.4.4
- FIX:
enforces-shorthand
rule fixer and support for prefix
v3.4.3
`enforces-negative-arbitrary-values` recommended
fix: update recommended preset to enable "enforces-negative-arbitrary-values" as "warn"
v3.4.1
v3.4.0
- New rule:
enforces-negative-arbitrary-values
: preferstop-[-5px]
instead of-top-[5px]