Skip to content

Releases: oxc-project/oxc

oxlint v0.0.7

29 Jul 06:23
ee211ba
Compare
Choose a tag to compare

Try it out!

Run npx oxlint@latest . in your own JavaScript / TypeScript codebase and see it complete in milliseconds. No configurations are required.


Oxlint now has 50 recommended run by default, out of 71 in total.

9 New Lint Rules

Correctness (Run by default)

Pedantic

Restriction

Style

Profile Rule Performance TIMING=1

Performance of individual rules can now be tracked by using the same ESLint environment variable TIMING=1. See the ESLint documentation for details. This feature is initiated by @shannonrothe .

Stable Rust

This binary is now built with stable instead nightly Rust. Thank you for the initiative @josephsavona. Thank you @strager and @suica who made significant contributions.


All features in this release are implemented by community contributors, thank you all for the contribution.
A special thank you is extended to @DonIsaac, whose assistance was invaluable during this release.

New Contributors

Full Changelog: oxlint_v0.0.6...oxlint_v0.0.7

oxlint v0.0.6

01 Jul 14:02
Compare
Choose a tag to compare

This release adds 4 typescript-eslint rules without any performance impact:

@typescript/no-empty-interface
@typescript/no-extra-non-null-assertion
@typescript/no-non-null-asserted-optional-chain
@typescript/no-unnecessary-type-constraint

There are now 45 rules in total.


Try it out! Run the following command In any of your repo:

npx oxlint@latest .

Full Changelog: oxlint_v0.0.4...oxlint_v0.0.5

oxlint v0.0.5

01 Jul 09:33
Compare
Choose a tag to compare

Try it out! In any of your repo:

npx oxlint@latest .

This release adds 8 new rules (with 41 rules in total):

  • no-useless-catch
  • no-unsafe-finally
  • no-self-assign
  • no-cond-assign
  • no-dupe-else-if
  • no-inner-declarations
  • no-useless-escape
  • no-prototype-builtins

Full Changelog: oxlint_v0.0.4...oxlint_v0.0.5

oxlint v0.0.4

28 Jun 15:37
c5ff9fc
Compare
Choose a tag to compare

Try it out! In any of your codebase:

npx oxlint@latest .

This release adds 5 new rules:

Full Changelog: oxlint_v0.0.3...oxlint_v0.0.4

oxlint v0.0.3

27 Jun 15:55
a592e0d
Compare
Choose a tag to compare

Try it out! In any of your codebase:

npx oxlint@latest .

This release supports 31 correctness rules:

npx oxlint@latest --rules

Correctness (31):

  • deepscan/bad-array-method-on-arguments
  • deepscan/bad-comparison-sequence
  • deepscan/bad-min-max-func
  • deepscan/bad-remove-event-listener
  • deepscan/missing-throw
  • deepscan/number-arg-out-of-range
  • deepscan/uninvoked-array-callback
  • eslint/constructor-super
  • eslint/for-direction
  • eslint/getter-return
  • eslint/no-async-promise-executor
  • eslint/no-caller
  • eslint/no-class-assign
  • eslint/no-compare-neg-zero
  • eslint/no-const-assign
  • eslint/no-constant-binary-expression
  • eslint/no-constant-condition
  • eslint/no-debugger
  • eslint/no-dupe-class-members
  • eslint/no-dupe-keys
  • eslint/no-duplicate-case
  • eslint/no-empty-pattern
  • eslint/no-function-assign
  • eslint/no-new-symbol
  • eslint/no-self-compare
  • eslint/no-setter-return
  • eslint/no-shadow-restricted-names
  • eslint/no-unsafe-negation
  • eslint/no-unused-labels
  • eslint/use-isnan
  • eslint/valid-typeof

CLI v0.1.1 TypeScript v5 const type parameter

08 Jun 14:39
6659286
Compare
Choose a tag to compare

What's Changed

  • chore(typo): expect -> except by @sno2 in #415
  • feat(parser): parse const type parameter from TypeScript v5.0 by @Boshen in #416

New Contributors

  • @sno2 made their first contribution in #415

Full Changelog: https://github.com/Boshen/oxc/compare/v0.1.0...

CLI v0.1.0 Ezno Type Checker

07 Jun 16:09
851414a
Compare
Choose a tag to compare

npx oxidation-compiler@latest check ./test.ts

image

New Contributors

Full Changelog: https://github.com/Boshen/oxc/compare/v0.0.7...

CLI v0.0.7

31 May 11:31
Compare
Choose a tag to compare

What's Changed

  • Fixed CLI --help not working propertly

CLI v0.0.6

22 Apr 10:29
9aad749
Compare
Choose a tag to compare

What's Changed

  • feat(semantic): parse jsdoc comments by @shannonrothe in #205
  • refactor(benchmark): add more benchmark files by @Boshen in #275
  • feat: add cargo minsize task for tracking minification size by @Boshen in #276
  • feat(linter): implement no-shadow-restricted-names by @CarrotzRule123 in #277
  • feat(coverage): add jsx printing tests by @Boshen in #279
  • feat(linter): implement DeepScan bad comparison sequence rule by @mysteryven in #280
  • feat(linter): implement no-unused-labels by @CarrotzRule123 in #282
  • docs: Update CONTRIBUTING.md by @ild0tt0re in #288
  • chore(minifier): add test fixture by @Boshen in #287
  • ci: cache by @Boshen in #289
  • feat(tasks): add minifier coverage test by @Boshen in #292
  • feat(cli): add --rules CLI flag by @shannonrothe in #290
  • ci: run codecov on PR by @Boshen in #294
  • feat(cli): test print rules by @Boshen in #295
  • feat(printer,semantic): mangler by @Boshen in #285
  • chore(linter): add test to ensure documentation exists by @Boshen in #296
  • chore(ast): remove unused NumberLiteral::to_string by @Boshen in #298
  • Website by @Boshen in #281
  • chore: bump nightly to nightly-2023-04-20 by @Boshen in #304
  • feat(linter): bad array method on arguments by @mysteryven in #303
  • feat: napi by @Boshen in #302

New Contributors

  • @CarrotzRule123 made their first contribution in #277
  • @ild0tt0re made their first contribution in #288

Full Changelog: https://github.com/Boshen/oxc/compare/v0.0.5...

CLI v0.0.5

12 Apr 02:48
c16f858
Compare
Choose a tag to compare

What's Changed

  • fix(parser): fix additional char being consumed in JSXText by @yesmeck in #259
  • fix(parser): fix crashing on empty ParenthesizedExpression with comments by @Boshen in #263
  • fix(parser): fix parse error on JSXText preceded by JSXFragment by @yesmeck in #262
  • fix(linter): fix panic when directive appears at the first line by @yesmeck in #264
  • fix(parser): fix [+in] context in CallArguments by @Boshen in #265
  • fix(paresr): parse [+In] in template by @Boshen in #266
  • fix(parser): fix [+In] Destructuring Binding Pattern Initializer by @Boshen in #267
  • feat(linter): no constant condition by @mysteryven in #271
  • feat(semantic): Add index mapping from span to reference id by @YangchenYe323 in #270
  • refactor(linter,semantic): move syntax check from linter to semantic by @Boshen in #272

New Contributors

Full Changelog: https://github.com/Boshen/oxc/compare/v0.0.4...