Releases: francoismassart/eslint-plugin-tailwindcss
Releases · francoismassart/eslint-plugin-tailwindcss
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
MINOR FIX for `clear` in `groups.js`
Support `CallExpression`
You can parse TemplateLiteral
string used as argument in a CallExpression
.
The callee's name must be whitelisted, the default config accepts ctl
aka the tiny utility classnames-template-literals from netlify.
You can specify one or more callee names by setting the callees
option which expects an array of strings.
Only works for the classnames-order
rule for now
FIXES
- [BUG] Single quotes are replaced by double quotes #4
MINOR
- Formatted code using Prettier
- Refact
schema
meta
Support Tailwind v2.1.0
See the changelog of Tailwind CSS for all details
https://github.com/tailwindlabs/tailwindcss/releases/tag/v2.1.0
v1.2.0
New Features
- New rule added: no-contradicting-classname
v1.1.0
New Features
- New rule added: no-custom-classname
v1.0.3
First published version
Supporting only one rule for now: classnames-order