Skip to content

v0.6.1

Choose a tag to compare

@PerfectPan PerfectPan released this 22 Oct 02:45
· 13 commits to main since this release
a883840

What changed

  • promise/valid-params is now off. The rule counts the arguments of calls to methods named then, catch and finally without type information, so it reported APIs that only share the name, such as zod/mini's z.catch(schema, fallback). TypeScript already rejects a wrong argument count on a real Promise method (TS2554), and oxlint's rule page says the rule is generally unnecessary with TypeScript.

What newly fails

Nothing new is reported. Because reportUnusedDisableDirectives is an error, a // oxlint-disable-next-line promise/valid-params comment left in a consumer becomes an unused-directive error after the upgrade: delete those comments when you bump.

Impact

Directives to delete per consumer (main branches, 2026-10-22): agent-kit 4 (the lenient helpers); none in the other consumers checked.

Upgrade

github:PerfectPan/lint-config#v0.6.0 → #v0.6.1, then reinstall.