Skip to content

v0.2.0 — Oxlint integration

Choose a tag to compare

@danieljvdm danieljvdm released this 24 Oct 07:21
· 5 commits to main since this release
3f9d2d1

Native Effect diagnostics now work inside Oxlint.

  • Run effect-tsrs oxlint ., or use effect-tsrs patch --oxlint with existing Oxlint scripts and editor integrations. unpatch --oxlint restores the original files.
  • All 130 Effect rules execute in Rust. The existing effecttsgo/* rule names, presets, schema, severity overrides and suppression comments are supported.
  • Standard TypeScript rules and --type-check run through the installed stock oxlint-tsgolint backend concurrently.
  • Supports unsaved editor buffers, project references and Unicode diagnostic ranges.

Install:

npm install --save-dev @yielded/effect-tsrs@0.2.0 oxlint@1.89.0 oxlint-tsgolint@7.0.2004

Enable the effecttsgo plugin and desired rules in your Oxlint configuration. See the README for an example.

Supported versions are Oxlint 1.87.0–1.89.0 and oxlint-tsgolint 7.0.2003–7.0.2004. Linux Oxlint integration requires glibc.

Effect quick fixes, fix suggestions and per-rule profiling remain for follow-up. Standard TypeScript fixes are supported through the stock backend.

The Effect correction port is tracked in #5.