Releases: francoismassart/eslint-plugin-tailwindcss
v1.8.0
v1.7.1
PATCH
Fix error on missing colors (#17).
by @ntkoopman
Shared settings
New features
Shared settings
No need to duplicate the same options between several rules anymore, just use the shared settings for tailwindcss.
Updated default values for callees
option
The default value of callees
is now set to ["classnames", "clsx", "ctl"]
instead of just ["ctl"]
This option is used by every rule, here is more about the callees
option
`whitelist`option
MINOR: new option whitelist
for no-custom-classname
rule.
v1.5.5
v1.5.4
FIX: issue with the fixer when parsing single line template literal...
v1.5.3
MINOR: enhancing performances by saving mergedConfig
The merged config of Tailwind CSS is only generated when expired (1 second) or when it differs from previous config.
v1.5.2
FIX error occuring when using keys with -
inside the tailwind.config.js
v1.5.1
tailwind.config.js
New features
classnames-order
rule
config
option (default totailwind.config.js
)
no-contradicting-classname
and no-custom-classname
rules
callees
options addedconfig
option (default totailwind.config.js
)
JIT Mode related
Just-in-Time Mode brings new features to Tailwind CSS:
- Stackable variants
- Arbitrary value support
- Built-in important modifier
eslint-plugin-tailwindcss
supports these new features 🎉
FIX
no-custom-classname
should run even with a single classname- incorrect
inset
rule ingroups.js
MINOR
lib/config/groups.js
can handle values from thetailwind.config.js
- ADD
.prettierrc.json
- ADD support for custom
separator
- ADD support for custom breakpoints from
screens