oxlint v0.2.7
What's Changed
This release fixes a critical bug where errors not being reported from finally
block of try/catch/finally.
New Rules
- implement @next/next/no-before-interactive-script-outsi… by @kaykdm in #2203
- implement @next/next/no-unwanted-polyfillio by @kaykdm in #2197
Features
- complete custom components setting by @hjiog in #2234
- ban
--fix
for variety files(vue, astro, svelte) by @mysteryven in #2189
Fixes
- Better report source line and col for multiline annotations by @maurice in #2242
- Better source line and column numbers by @maurice in #2213
- display target triple when error is thrown by @Boshen in #2259
- correct the span for irregular whitespaces by @Boshen in #2245
- jsx no undef match scope should check with ancestors by @xxleyi in #2027
Parser
- feat(ast): TypeScript definition for wasm target by @H-Plus-Time in #2158
- feat(ast): remove expression property from Function by @Dunqing in #2247
- feat(ast): remove generator property from ArrowFunction by @Dunqing in #2260
- feat(ast): remove serde skip for symbol_id and reference_id by @Dunqing in #2220
- perf(parser): faster offset calculation by @overlookmotel in #2215
- perf(parser): pad
Token
to 16 bytes by @overlookmotel in #2211
New Contributors
- @xxleyi made their first contribution in #2027
- @H-Plus-Time made their first contribution in #2158
- @TzviPM made their first contribution in #2210
Full Changelog: oxlint_v0.2.6...oxlint_v0.2.7