Skip to content

Releases: schoero/eslint-plugin-better-tailwindcss

v4.5.0

28 Apr 06:24
cc05c4e

Choose a tag to compare

compare changes

Features

  • Add ignore option to enforce-canonical-classes (#371)
  • Add tabWidth option to enforce-consistent-line-wrapping (#367)

Fixes

  • Add missing logical classes (#368)
  • Warning when tailwind css installation can't be found (#373)
  • Only sort variants that are safe (#370)

v4.4.1

13 Apr 05:20
d7df2ce

Choose a tag to compare

compare changes

Fixes

  • Remove auto detection of project root to set cwd (#364)

    If you're in a monorepo setup, you may need to configure the cwd manually.

v4.4.0

09 Apr 18:22
a593bf3

Choose a tag to compare

compare changes

Features

  • Project root based cwd in monorepos (#345)
  • Target specific arguments of callees (#347)
  • New Anonymous functions matcher (#348)
  • Add support for tag paths (#354)
  • Reintroduce line ending and indentation misconfiguration warnings (#351)
  • worker: Use SYNCKIT_TIMEOUT env var for timeout configuration (#352)
  • Match default exports (#346)
  • React twc preset (#355)
  • Lint Template literal based on prefixed comments (#356)
  • New rule enforce-logical-properties (#358)
  • New rule enforce-consistent-variant-order (#359)

Performance

  • Cache regex, early return (#336)

Documentation

  • Add example to restrict unnamed groups (#357)

❤️ Contributors

v4.3.2

05 Mar 06:22
86d5da7

Choose a tag to compare

compare changes

Fixes

  • no-unnecessary-whitespace: Preserve whitespaces in concatenated strings (#339)
  • enforce-consistent-class-order: Non localized alphabetical sorting order (#340)

Refactors

  • Lint concatenated strings (#338)

v4.3.1

26 Feb 06:20
0cb4535

Choose a tag to compare

compare changes

Fixes

  • Variable matchers leaking into function expressions (#333)

Documentation

  • Add oxlint documentation (#331)

v4.3.0

15 Feb 22:53
6869c5e

Choose a tag to compare

compare changes

Features

  • Support curried calls (#325)
  • Support callee paths (#326)

Refactors

  • Simplify matcher config (#324)
    The matcher config has been simplified from a nested tuple structure to a simple array of objects. This makes it easier
    to understand while also allowing better flexibility to support the new features. The old structure is still supported
    for now, but will be removed in the next major version.

    Check the updated configuration documentation for more information.

v4.2.0

10 Feb 22:22
b5f58b1

Choose a tag to compare

compare changes

Features

  • Add support for ESLint 10 (#323)

Performance

  • Use shared worker to handle async calls (#319)

❤️ Contributors

v4.1.1

02 Feb 22:26
a41af00

Choose a tag to compare

compare changes

Fixes

  • Filter unrecommended rules (#317)

v4.1.0

02 Feb 20:38
9402b61

Choose a tag to compare

compare changes

Features

  • Experimental css linting (#314)
  • Add solid classList matcher (#315)

Fixes

  • Prevent linting when no literals are found (51333c6)
  • Add exactOptionalPropertyTypes to tsconfig (#311)

❤️ Contributors

v4.0.2

25 Jan 19:07
36c60ef

Choose a tag to compare

compare changes

Fixes

  • enforce-canonical-classes: removal of unrelated classes (#309)
  • enforce-consistent-variable-syntax: Support custom css functions (#308)
  • Config types (#310)