mirror of
https://github.com/oxc-project/oxc.git
synced 2026-11-04 10:29:58 +00:00
# Oxlint ### 🚀 Features -cf34678oxlint: Export `Oxlintrc` type (#28132) (Sysix) -831cdf1oxlint: Require mininum oxlint-tsgolint version v7.0.2005 (#28118) (camc314) -d1b00f4linter/typescript: Implement no-unsafe-enum-assignment rule (#28117) (camc314) -165c91flinter/typescript/await-thenable: Support `allowMixedPromiseArrays` option (#28116) (camc314) ### 🐛 Bug Fixes -7f3c908linter/eslint/array-callback-return: Check callbacks passed with extra arguments (#28133) (sarankumar) -53be530linter: Filter by type aware rules when looking up tsgolint rule severity (#28138) (NavpreetSSidhu) -e0f8937react-compiler: Compile a `try` whose `catch` is unreachable instead of panicking (#28066) (Dunqing) -f5b625flinter/eslint/no-useless-concat: See through parenthesized expressions (#27984) (Rahul Kashyap) -4629bb2linter/jest/no-conditional-expect: Check function expression callbacks (#28055) (camc314) -5c84098semantic,linter: Report names with lone surrogates in enum and lint checks (#27991) (Dunqing) -f3705a9linter/eslint/prefer-const: Skip fixers if any declarator is reassigned (#28008) (Prince Jain) -4c0fa90minifier,linter: Keep `delete` of constant members and later JSX keys (#27990) (Dunqing) -0298062linter/arrow-body-style: Keep type assertions when adding a block body (#27978) (Yan Almeida) # Oxfmt ### 🐛 Bug Fixes -5042019formatter: Keep fill layout for array with comment after [ (#28170) (leaysgur) -9d37ff6formatter: Use position-based comment checks for concise arrays (#28169) (leaysgur) -016c4a2formatter: Keep a comment before `}` inside a JSX spread child (#28103) (vidigoat) -190bb1eformatter: Keep parens around an instantiation expression ending an operand through any tight parent (#28168) (leaysgur) -a5314a1formatter: Keep `;` before `in` and `instanceof` class members (#28166) (leaysgur) -3a56e7cformatter: Keep closing HTML comments at the start of a line (#28064) (Cameron) -23d23d6formatter_markdown: Honor range ignore inside directives (#28164) (leaysgur) -5f1fd3dformatter: Measure width heuristics by display width (#28098) (leaysgur) -a5a52cfformatter: Keep parens around private `in` expressions (#28096) (leaysgur) -999496eformatter: Measure a short key by its display width (#28026) (vidigoat) -7e9aa44formatter: Keep parens around a looser operand of an instantiation expression (#28025) (vidigoat) -6912d1fformatter: Keep an arrow signature that exactly fills the line for any body (#27989) (leaysgur) -eb1d9f9formatter_core: Count a flat `line` space in `fits` only when text follows (#27987) (leaysgur) ### ⚡ Performance -1ed93afdata_structures: Copy short strings without a memcpy call (#27953) (leaysgur) -7948f0bformatter_core: Shrink `FormatElement` to 16B (#28012) (leaysgur) -788af22formatter: Keep `AstNode`s on the stack, and only chain links in the arena (#27963) (leaysgur) ### 📚 Documentation -068a8eaformatter: Fix up wording (#28167) (leaysgur) -db55461formatter_core: Document text width divergence (#28095) (leaysgur) -880d229formatter: Add vitest-test-call to known divergences (#28006) (leaysgur) Co-authored-by: Dunqing <29533304+Dunqing@users.noreply.github.com>