Table of Contents
- Oxlint v1.57.0
- Oxfmt v0.42.0
Oxlint v1.57.0
🚀 Features
- 2244984 linter: Implement
vitest/prefer-strict-boolean-matchersrule (#20603) (Mikhail Baev) - c5f0ed3 linter/array-callback-return: Use CFG for analysis (#20498) (camc314)
- f9a63ca linter: Implement
unicorn/custom-error-definitionrule (#20520) (Mikhail Baev)
🐛 Bug Fixes
- 5e893d7 jsdoc: Parse tags after interval notation in descriptions (#20046) (camc314)
- 532c921 linter/plugins: Include
locwhen callJSON.stringifyonTokens andComments (#20512) (overlookmotel) - c3d9e91 linter/plugins: Fix memory leak in tokens and comments (#20477) (overlookmotel)
- 525c398 linter: Detect no-cycle with auto-discovered tsconfig paths (#20566) (camc314)
- 9519380 linter/no-noninteractive-tabindex: Handle numeric tabIndex values on non-interactive elements (#20538) (camc314)
- 04c84bb linter: Fix cloning on Windows by reducing the size of a problematic snapshot filename. (#20511) (connorshea)
- 65a7c3c linter/hex-escape: False positive for
String.raw(#20497) (camc314) - d3cdc82 linter/escape-case: False positive for
String.raw(#20496) (camc314) - 50d59e9 linter/explicit-function-return-type: False negative with HOF detection (#20495) (camc314)
- d78c55d linter/no-unused-vars: Handle loop-carried self-reassignments (#20457) (camc314)
- 6a307d1 linter/explicit-module-boundary-types: Fix false positives for satisfies-wrapped members (#20439) (camc314)
- 0c57312 tsgolint: Use primary span for the disable directive (#20436) (camc314)
- 4791b2e linter: Add summary output to GitHub formatter (#20404) (Hideyasu-Ozawa)
⚡ Performance
- 30891bd linter/plugins: Share empty
Uint32Arrayacross multiple places (#20509) (overlookmotel) - 336f7f7 linter/plugins: Faster conversion of span to
Location(#20507) (overlookmotel) - a187333 linter/plugins: Reuse descriptor objects for
Object.definePropertycalls (#20505) (overlookmotel) - 5984a66 linter/plugins: Recycle
Locationobjects (#20491) (overlookmotel) - 8729614 linter/plugins: Reduce operations in binary search (#20490) (overlookmotel)
- 9cfc312 linter/plugins: Reduce allocations for tokens and comments with accessed
loc(#20480) (overlookmotel) - 9c7a267 linter/plugins: Reduce allocations for regex tokens (#20479) (overlookmotel)
- 4ee80ac linter/plugins: Remove bounds checks on regex tokens (#20478) (overlookmotel)
- 4a22f60 linter/plugins: Remove regex from
getCommentsBefore+getCommentsAfter(#20475) (overlookmotel) - 9a622c7 linter/plugins: Lazy deserialize tokens and comments (#20474) (overlookmotel)
- c6ea0a0 ast: Place
NodeIdfield afterSpanin structs (#20584) (overlookmotel) - d176ecc napi/parser, oxlint/plugins: Shorten deserializer for
WithClause(#20575) (overlookmotel) - 57b2e82 linter/no-required-prop-with-default: Restructure so lintgen works (#20537) (camc314)
- 9ddfb42 linter/no-const-assign: Use
BindingPattern::get_symbol_ids(#20533) (camc314)
📚 Documentation
- f064f80 linter/plugins: Correct comment about offset to line-column conversion (#20506) (overlookmotel)
- 4047e71 linter/plugins: Improve docs for conformance tests (#20528) (overlookmotel)
- 6022ddb linter: Add note about options to
react/jsx_key(#20484) (connorshea) - 5c104ff linter/curly: Fix incorrect examples code (#20421) (KUAI)
Oxfmt v0.42.0
🚀 Features
- 416865a formatter,oxfmt: Add doc comments for
JsdocConfig(#20644) (leaysgur) - 4fec907 formatter: Add JSDoc comment formatting support (#19828) (Dunqing)
- c21c5a7 oxfmt: Support html-in-js substitution (#20193) (leaysgur)
- c5aeae4 formatter,oxfmt: Support
/* LANG */comment for gql|html-in-js (#20224) (leaysgur)
🐛 Bug Fixes
- 399e629 formatter: Align more trailing comment cases with prettier (#20636) (#20643) (Andreas Lubbe)
- 909fb4d formatter: Remove unnecessary parens around TSConstructorType in arrow function return type (#20573) (bab)
- 828b56a oxfmt: Re-export all nested types (#20636) (leaysgur)
- c1b461b oxfmt/lsp: Revert #19977, prefer file extension over languageId for format strategy (#20623) (Sysix)
- d35b25f formatter,oxfmt: Remove redundant space after soft_line_break_or_space (#20562) (leaysgur)
- f8c452a formatter,oxfmt: Handle css-in-js comment inside template (#20452) (leaysgur)
- 7c233f4 formatter,oxfmt: Handle nested
BinaryExpressionfor tailwind trailing spaces (#20450) (leaysgur) - 71628e6 formatter,oxfmt: Sort imports should not flush Empty line (#20443) (leaysgur)