Skip to content

Releases: oxc-project/oxc

oxlint v0.2.12

28 Feb 14:07
ab13504
Compare
Choose a tag to compare

What's Changed

This release fixes a mistate made in the previous release where an ESM module has commonjs data, resulting lots of random false positives.

  • feat(linter): remove all commonjs logic from module record for import plugin by @Boshen in #2537

Full Changelog: oxlint_v0.2.11...oxlint_v0.2.12

oxlint v0.2.11

26 Feb 11:10
Compare
Choose a tag to compare

What's Changed

esling-plugin-import is currently work in progress, so please don't turn on the --deny nursery category.

  • feat(linter): eslint-plugin-react void-dom-elements-no-children by @keita-hino in #2477
  • feat(linter): implement @typescript-eslint/prefer-ts-expect-error by @alexttyip in #2435
  • feat(linter): typescript-eslint: prefer-function-type by @zhangrunzhao in #2337
  • fix(linter): Correct configuration file parsing for jsx-no-useless-fragment by @keita-hino in #2512
  • fix(linter): Handle cases where createElement is an Identifier in is_create_element_call by @keita-hino in #2474
  • fix(linter): fix import plugin hanging when ignored modules are imported by @Boshen in #2478

New Contributors

Full Changelog: oxlint_v0.2.10...oxlint_v0.2.11

oxlint v0.2.10

21 Feb 10:36
30392c9
Compare
Choose a tag to compare

What's Changed

Linter

CLI

  • feat(diagnostics): implement json reporter --format json by @Boshen in #2452

Parser

  • feat(parser): parse import attributes in TSImportType by @Dunqing in #2436

VScode

  • fix(vscode): incorrect diagnostic position by @Dunqing in #2461

New Contributors

Full Changelog: oxlint_v0.2.9...oxlint_v0.2.10

oxlint v0.2.9

18 Feb 11:04
Compare
Choose a tag to compare

What's Changed

Linter

Fixes

  • getter-return false positive with TypeScript syntax by @Boshen in #2363
  • add missing typescript-eslint(_) prefix for some errors by @maurice in #2342
  • jsx_a11y: Ensure plugin settings are used by @leaysgur in #2359
  • jsx_a11y: Refactor jsx-a11y related utils and its usage by @leaysgur in #2389

Parser

New Contributors

Full Changelog: oxlint_v0.2.8...oxlint_v0.2.9

oxlint v0.2.8

06 Feb 08:22
Compare
Choose a tag to compare

What's Changed

This release addresses a long-standing issue where the AST had memory leaks.
I can finally sleep well, knowing that my software is free of memory leaks 😀

Moreover, the parser is now 4% faster (again!), thanks to @overlookmotel's improvements.

New Rules

Fixes

  • add regression case for require-yield by @Boshen in #2326
  • fix no_dupe_keys false postive on similar key names by @Boshen in #2291

Parser

Full Changelog: oxlint_v0.2.7...oxlint_v0.2.8

oxlint v0.2.7

03 Feb 13:41
52e3244
Compare
Choose a tag to compare

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

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

New Contributors

Full Changelog: oxlint_v0.2.6...oxlint_v0.2.7

oxlint v0.2.6

26 Jan 14:55
1b5bbb9
Compare
Choose a tag to compare

What's Changed

VSCode

  • feat(vscode): allow config path configuration by @Djiit in #2172

Linter

  • support read eslint env from eslintrc by @fi3ework in #2130
  • rename react_perf/jsx_no_new_function_as_props to jsx_no_new_function_as_prop by @leaysgur in #2175

Semantic

Cli

New Contributors

Full Changelog: oxlint_v0.2.5...oxlint_v0.2.6

oxlint v0.2.5

25 Jan 09:37
Compare
Choose a tag to compare

What's Changed

This release matched all linter rule names with their ESLint counterparts.

New Rules

Fixes

  • fix(linter): explicit-length-check inside ternary by @maurice in #2165

New Contributors

Full Changelog: oxlint_v0.2.4...oxlint_v0.2.5

oxlint v0.2.4

23 Jan 11:48
Compare
Choose a tag to compare

What's Changed

Fixed linux installation failures.

Full Changelog: oxlint_v0.2.3...oxlint_v0.2.4

oxlint v0.2.3

23 Jan 05:14
Compare
Choose a tag to compare

What's Changed

New eslint-plugin-react-perf

oxlint --react-perf-plugin

Differenciate linux gnu / musl binary targets

  • linux-x64-gnu
  • linux-arm64-gnu
  • linux-x64-musl
  • linux-arm64-musl
  • ci: release oxlint with linux-{x64-gnu, arm64-gnu, x64-musl, arm64-musl} by @Boshen in #2126

New Rules

  • jest: no-restricted-matchers by @eryue0220 in #2090
  • jest: no-restricted-jest-methods by @eryue0220 in #2091
  • import: no-named-as-default by @XantreGodlike in #2109
  • unicorn: promote no-new-array to correctness with better help message by @Boshen in #2123

Favor Array.from({ length: n }) and [onlyElement] instead of ambiguous new Array(arg)

Improvements

Fixes

New Contributors

Full Changelog: oxlint_v0.2.2...oxlint_v0.2.3