Table of Contents
- Oxlint v1.61.0
- Oxfmt v0.46.0
Oxlint v1.61.0
π₯ BREAKING CHANGES
π Features
- 38d8090 linter/jest: Implemented jest
versionsettings in config file. (#21522) (Said Atrahouch) - 7dbbb99 linter/eslint: Implement suggestion for
no-case-declarationsrule (#21508) (Mikhail Baev) - 9b4d9f6 linter/prefer-template: Implement autofix (#21502) (FranΓ§ois)
- daa64ed linter/no-empty-pattern: Add
allowObjectPatternsAsParametersoption (#21474) (camc314) - cf2d281 linter/typescript: Implement explicit-member-accessibility (#21447) (Hunter Tunnicliff)
- d48de6f linter/unicorn: Add help messages to 3 rule diagnostics (#21459) (Mukunda Rao Katta)
- cffdc2e linter: Backfill rule version metadata (#21391) (Old Autumn)
π Bug Fixes
- 96ede2c linter/no-useless-assignment: Preserve conditional self-reads (#21582) (camc314)
- 1e69b91 linter/no-useless-assignment: Improve diagnostic spans (#21581) (camc314)
- f272594 linter/plugins: Align
RuleMeta.replacedBytype with ESLint (#21544) (bab) - 4d57851 linter/eslint: Enhance
no-empty-functionrule to support async and generator functions in VariableDeclarator (#21542) (Mikhail Baev) - 00fc136 codegen: Preserve coverage comments before object properties (#21312) (bab)
- a56b7b9 oxlint: Dont enable gitlab formatter by default (#21501) (camc314)
- 9c9b6a2 linter/array-callback-return: Ignore non-exit CFG dead ends (#21497) (camc314)
- 61088e0 linter/unicorn: Handle computed property access in
prefer-dom-node-removerule (#21470) (Mikhail Baev) - eab5934 linter: Report an error on unsupported
extendsvalues (#21406) (John Costa) - 3289ba0 linter/valid-expect-in-promise: Check a jest fn to be
testinstead ofdescribe(#21422) (Said Atrahouch) - 4417fe3 linter/prefer-ending-with-an-expect: Ignore vi.mock factory callbacks (#21414) (CΓ©dric Exbrayat)
- a904883 linter/consistent-type-imports: Ignore vue/svelte/astro files (#21415) (bab)
- 2498fe6 linter/no-unused-vars: Allow segments of dotted namespace declarations (#21416) (bab)
- 44b5b35 linter: Preserve vitest-compatible jest rules when applying overrides (#21389) (Cameron)
- 7bd8331 linter/prefer-ending-with-an-expect: Add missing
versiondocs (#21390) (Said Atrahouch) - 43d8f0d linter/no-useless-assignment: Ignore writes read by closures (#21380) (camc314)
π Documentation
- c1eeae3 linter: Add version to
rule.json(#21547) (camchenry) - 0ec6ab2 linter: Improve the
vitest/no-importing-vitest-globalsrule documentation. (#21557) (connorshea)
Oxfmt v0.46.0
π₯ BREAKING CHANGES
π Features
- 5aa7fe1 oxfmt: Add
--disable-nested-configCLI flag (#21514) (leaysgur) - b5cb8d1 oxfmt: Update prettier to 3.8.3 (#21451) (leaysgur)
- 16713d5 oxfmt/cli: Support per-directory config (#21103) (leaysgur)
- 952de06 oxfmt/lsp: Support per-directory config (#21081) (leaysgur)
π Bug Fixes
- a501a53 formatter: Handle comments after pipe in single-member union types (#21487) (John Costa)
- 6f49fad oxfmt: Respect nested config.
ignorePatterns(#21489) (leaysgur) - 7c98d52 oxfmt: Do not panic on finding invalid nested config (#21461) (leaysgur)
- 41bb2d5 formatter: Preserve more
intrinsicparens (#21449) (leaysgur) - f894750 formatter: Preserve parens around
intrinsicin type alias annotation (#21410) (Dunqing)