Skip to content

Releases: francoismassart/eslint-plugin-tailwindcss

v1.8.0

21 May 19:31
Compare
Choose a tag to compare

FIX #15

v1.7.1

20 May 15:19
Compare
Choose a tag to compare

PATCH

Fix error on missing colors (#17).
by @ntkoopman

Shared settings

19 May 14:31
Compare
Choose a tag to compare

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

17 May 18:59
Compare
Choose a tag to compare

v1.5.5

16 May 19:44
Compare
Choose a tag to compare

MINOR: fix a bug (#14) caused by an error in the regex used to detect the display group. It did match grid-... when it should only accept grid.

The bug fixe may affect the classnames order previously applied with the plugin. The tests were affected by this "side effect".

v1.5.4

14 May 20:47
Compare
Choose a tag to compare

FIX: issue with the fixer when parsing single line template literal...

v1.5.3

12 May 15:58
Compare
Choose a tag to compare

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

05 May 20:36
Compare
Choose a tag to compare

FIX error occuring when using keys with - inside the tailwind.config.js

v1.5.1

05 May 07:05
Compare
Choose a tag to compare

FIX: #12

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