Skip to content

Releases: francoismassart/eslint-plugin-tailwindcss

tailwind.config.js

29 Apr 20:30
Compare
Choose a tag to compare

New features

classnames-order rule

  • config option (default to tailwind.config.js)

no-contradicting-classname and no-custom-classname rules

  • callees options added
  • config option (default to tailwind.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 in groups.js

MINOR

  • lib/config/groups.js can handle values from the tailwind.config.js
  • ADD .prettierrc.json
  • ADD support for custom separator
  • ADD support for custom breakpoints from screens

MINOR FIX for `clear` in `groups.js`

24 Apr 09:07
Compare
Choose a tag to compare

Support `CallExpression`

15 Apr 20:47
Compare
Choose a tag to compare

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

05 Apr 20:45
6f2e721
Compare
Choose a tag to compare

v1.2.0

29 Mar 20:31
Compare
Choose a tag to compare

New Features

v1.1.0

26 Mar 21:47
Compare
Choose a tag to compare

New Features

v1.0.3

26 Mar 13:33
Compare
Choose a tag to compare

Bug Fixes

  • FIX Multiple spaces in class attribute value #1
  • TYPO on the README.md

First published version

26 Mar 13:40
Compare
Choose a tag to compare

Supporting only one rule for now: classnames-order