oxlint-tailwindcss 1.7.1 → 1.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -18,8 +18,11 @@ Read the story behind this plugin:
18
18
  per package. Both fully deterministic.
19
19
  - **Coexists with oxfmt and Prettier** — Point all tools at the same CSS and they agree
20
20
  byte-for-byte. See the [interop guide](https://oxlint-tailwindcss.pages.dev/interop).
21
- - **Tailwind CSS v4** — Designed for v4 from day one. Reads your `@theme { ... }` custom tokens,
22
- your shadcn variables, your typography plugin.
21
+ - **Tailwind CSS v4.1+** — Designed for v4 from day one. Reads your `@theme { ... }` custom tokens,
22
+ your shadcn variables, your typography plugin. It loads _your_ project's Tailwind engine, resolved
23
+ per entry point, so the linter and your build agree; an engine older than v4.1, a future major, or
24
+ a major-version drift from your build fails loud (opt back in with
25
+ `settings.tailwindcss.allowUntestedEngine`).
23
26
  - **Fail loud** — Misconfiguration surfaces as a single `designSystemUnavailable` diagnostic with an
24
27
  actionable hint. Never silently skipped rules.
25
28
  - **Fast** — Native oxlint plugin with per-entry-point caching and content-hash disk cache for
@@ -987,15 +990,15 @@ the box. If you find one that doesn't, open an issue.
987
990
  ## Requirements
988
991
 
989
992
  - Node.js >= 20
990
- - Tailwind CSS v4
993
+ - Tailwind CSS v4.1 or newer (4.0.x is not supported — it predates a design-system API the plugin
994
+ needs, and is reported with a clear diagnostic)
991
995
  - oxlint >= 1.43.0
992
996
 
993
- > **oxlint 1.77.0 crashes the language server.** Not a plugin bug, but you'll hit it through us:
994
- > 1.77.0 panics the oxlint **language server** on any diagnostic from any JS plugin
995
- > (`disable_fix.rs:52`, then SIGABRT and a restart loop). The upstream repro uses a different plugin
996
- > — [oxc#25278](https://github.com/oxc-project/oxc/issues/25278) — and the fix
997
- > ([oxc#25280](https://github.com/oxc-project/oxc/pull/25280)) is not released yet. The CLI is
998
- > unaffected, so CI is fine; if you use the editor extension, pin `oxlint@1.76.0` for now.
997
+ > **Avoid oxlint 1.77.0 with the editor extension.** 1.77.0 panics the oxlint **language server** on
998
+ > any diagnostic from any JS plugin (`disable_fix.rs:52`, then SIGABRT and a restart loop). It's an
999
+ > oxlint bug, not a plugin one, and the CLI is unaffected (CI is fine). It's **fixed in oxlint
1000
+ > 1.78.0** ([oxc#25280](https://github.com/oxc-project/oxc/pull/25280)) — upgrade to `oxlint@1.78.0`
1001
+ > or newer (or stay on `1.76.0`) if you use the editor extension.
999
1002
 
1000
1003
  ## License
1001
1004