github oxc-project/oxc oxlint_v1.4.0
oxlint v1.4.0

latest releases: crates_v0.86.0, oxlint_v1.14.0, crates_v0.85.0...
2 months ago

[1.4.0] - 2025-06-30

๐Ÿš€ Features

  • 8e1573d linter: Add id-length rule from eslint (#11887) (Nicholas Rayburn)
  • 5dfcac5 linter: Add eslint/arrow-body-style rule (#11937) (yefan)
  • 9b19b40 napi: Add basic oxlint napi bindings (#11877) (camc314)
  • f102cb1 linter: Add import/prefer-default-export rule (#11891) (yefan)

๐Ÿ› Bug Fixes

  • 114c4fb linter/no-useless-spread: Panic with multi byte char (#11964) (camc314)
  • c2e5439 linter: Fix default values for unicorn/consistent-function-scoping (#11960) (Sysix)
  • 214c8e7 linter: Fix default values for import/no-absolute-path (#11959) (Sysix)
  • b4cc222 linter: Fix typescript/no-namespace default values (#11958) (Sysix)
  • 11e0a43 linter/prefer-dom-node-remove: Panic when callee is ts non null expression (#11949) (camc314)
  • 4903e39 linter/no-standalone-expect: False positive in callback fn (#11940) (camc314)
  • 1e88dba oxc_linter: Make linter file paths clickable within JetBrains terminals (#11619) (Nicholas Rayburn)
  • fe4006b linter/jsx-key: False positive in react/jsx-key (#11918) (camc314)
  • d32cb4b linter: Fix default values for eslint/no-redeclare (#11911) (Sysix)
  • d80c19d linter: Fix default values for eslint/max-lines-per-function (#11910) (Sysix)
  • 41a5342 linter: Fix default values for eslint/max-nested-callbacks (#11909) (Sysix)
  • 2e3db4e linter: Fix default values for eslint/max-depth (#11908) (Sysix)
  • a358797 linter: Remove false positives for no-extend-native (#11888) (camchenry)
  • 6f67b52 linter: Revert prefer-promise-reject-errors to old behavior (#11889) (camchenry)
  • d991fed linter: Fix jsx-a11y/label-has-associated-control default values (#11832) (Sysix)
  • a0a4aa1 linter: Count own indirect export entries to the threshold for oxc/no-barrel-file (#11838) (Sysix)

๐Ÿšœ Refactor

  • 344f3f9 linter: Minor refactors to eslint/id-length (#11976) (camc314)
  • 46b59d8 linter: Remove unused ContextHost::with_config (#11970) (camc314)
  • 2cf9fa3 linter: Derive debug for extensions (#11938) (camc314)
  • 17e0898 linter: Move import/no-duplicates to style category (#11929) (Sysix)
  • dd2e196 linter: Move unicorn/no-nested-ternary to style category (#11928) (Sysix)
  • 8404da4 linter: Remove unused LintPluginOptions (#11919) (camc314)
  • 87b8496 ast: Remove AstKind for MemberExpression and replace with StaticMemberExpression and PrivateFieldExpression (#11767) (camchenry)
  • e840680 linter/no-named-as-default-members: Remove needless lambda (#11896) (camc314)
  • 2760591 linter/no-console: Early return if ident does not match (#11895) (camc314)
  • 190e390 ast: Add AstKind for ComputedMemberExpression (#11766) (camchenry)

๐Ÿ“š Documentation

  • 940b98f linter: Fix docs for typescript/no-this-alias (#11963) (Sysix)
  • c4a95a2 linter: Move jest/valid-title options into a codeblock (#11961) (Sysix)
  • 0d3e8e7 linter: Fix prefer-string-replace-all example (#11921) (Bruno Henriques)
  • 06781ab linter: Fix doc formatting for perfer-logical-op-over-ternary (#11920) (camc314)

โšก Performance

  • 2cf63ea linter: nextjs/no-document-import-in-page check the filepath before running the rule (#11962) (Sysix)
  • 19cee8c linter/no-extend-native: Do not create unnecessary CompactStr (#11885) (overlookmotel)
  • 66dbf9d linter/no-console: Get static property name only once (#11880) (overlookmotel)

๐Ÿงช Testing

  • 168f776 linter/no-console: Add more tests (#11878) (overlookmotel)

Don't miss a new oxc release

NewReleases is sending notifications on new releases.