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

latest releases: oxfmt_v0.11.0, oxfmt_v0.10.0
22 hours ago

[1.26.0] - 2025-11-05

๐Ÿš€ Features

  • 6f4a50c linter: Implement react/state-in-constructor rule (#15329) (Mikhail Baev)
  • 230e34c linter/plugins: Allow js plugins to access settings (#14724) (Arsh)
  • 8d69661 allocator: Add Address::from_ref method (#15318) (overlookmotel)
  • 798216b language_server: Respect disable directives for type-aware rules (#15170) (Sysix)
  • 7a00691 linter/no-deprecated: Add rule (#15272) (camc314)
  • ab065a9 tsgolint: Improve diagnostic messages with file reference (#15274) (camc314)
  • 26f24d5 linter: Permit comments in .oxlintrc.json via json schema file (#15249) (Martin Leduc)
  • 979ec04 linter: Pretty print tsgolint internal diagnostics (#15131) (camc314)
  • 682dca2 parser: Add more helps to parser errors (#15186) (sapphi-red)

๐Ÿ› Bug Fixes

  • 40231a6 linter/plugins, napi/parser: Add parent field to FormalParameterRest and TSParameterProperty in TS type defs (#15337) (overlookmotel)
  • 861508a linter/plugins: Make parent fields in TS type defs non-optional (#15336) (overlookmotel)
  • e0edaef language-server: Disable tsgolint test on big endian (#15331) (camc314)
  • 1d09cc9 linter/no-unused-private-class-members: Fix false positive in conditional expressino (#15319) (camc314)
  • 7f079ab ast/estree: Fix raw transfer deserializer for AssignmentTargetPropertyIdentifier (#15304) (overlookmotel)
  • 56c6627 linter/plugins: Resolve JS plugins only with conditions Node.js supports (#15248) (sapphi-red)
  • d6996d0 linter: Fix JSON schema to deny additional properties for categories enum. (#15257) (Connor Shea)
  • 9304f9f linter: Fix JSON schema to deny additional properties for plugins enum. (#15259) (Connor Shea)
  • 6a884d3 linter: Return error diagnostics if tsgolint fails (#15229) (camc314)
  • 86cfae1 language-server: Log error if tsgolint fails to run (#15228) (camc314)
  • f376e61 linter: Bundle @typescript-eslint/scope-manager (#15210) (Arsh)
  • 377e904 linter: Ignore script tag in code comment (#15202) (Liang Mi)
  • b26900c linter: Improve diagnostic for react/button-has-type. (#15200) (Connor Shea)
  • 80a187c linter: Add offset for parsing error in partial loading files (#15075) (Liang Mi)
  • af257da linter/no-unused-vars: False positive with member expressions in sequence expressions (#15190) (magic-akari)
  • 1f365c8 vscode/test: Make formatting test less flaky (#15120) (camc314)

๐Ÿšœ Refactor

  • 636e7ed linter/plugins: Shorten ScopeManager code (#15335) (overlookmotel)
  • a7cf856 ast/estree: Shorten raw transfer deserializer for AssignmentTargetPropertyIdentifier (#15303) (overlookmotel)
  • 90146ab linter/react: Simplify is_react_hook (#15310) (overlookmotel)
  • 778b0b6 language_server: Remove ServerLinterDiagnostics (#15169) (Sysix)
  • 10732e8 language_server: Backend checks the correct LintOptions::Run (#15166) (Sysix)
  • e70a37f language_server: Use LintRunner (#14472) (Sysix)
  • 5501ed2 language_server: Send in memory source text to tsgolint (#14733) (Sysix)
  • f452007 linter/no-unwanted-polyfillio: Add security warning for compromised domains (#15207) (shulaoda)
  • 27b4f36 diagnostic: Remove path from sender (#15130) (camc314)

๐Ÿ“š Documentation

  • a7d9f1d linter/plugins: Reformat and clarify ScopeManager JSDoc comments (#15333) (overlookmotel)
  • 69e61d4 linter/plugins: Update comment (#15293) (overlookmotel)
  • 84ef5ab linter: Avoid linebreaks for markdown links and update plugins docs in the configuration schema. (#15246) (Connor Shea)
  • ec6721c linter: Improve documentation for no-unused-vars and no-useless-constructor. (#15244) (Connor Shea)
  • 52be364 linter/no-useless-constructor: Clarify caveat regarding visibility changes in constructors (#15239) (camc314)
  • d5c4ce8 linter: Add config option docs for 7 rules. (#15209) (Connor Shea)
  • 096fb2c linter: Add config option docs for 3 rules. (#15211) (Connor Shea)
  • 3f393e3 linter: Add configuration option docs for promise/no-callback-in-promise rule. (#15176) (Connor Shea)
  • 4ba1bca linter: Add configuration option docs for 5 rules. (#15199) (Connor Shea)
  • ab46187 linter: Add configuration docs for 6 react rules. (#15198) (Connor Shea)
  • 51c8724 linter: Add config docs for 4 more rules. (#15196) (Connor Shea)
  • e6677b1 linter: Add configuration option docs for 4 rules. (#15197) (Connor Shea)
  • 1fd14c0 linter: Add configuration option docs for 6 rules (#15194) (Connor Shea)
  • eafcb1a linter: Add autogenerated docs for no-magic-numbers rule. (#14846) (Connor Shea)
  • 1b9f6fc linter: Add configuration option docs for 6 rules (#15168) (Connor Shea)
  • 410b3cb linter: Add configuration option docs for import/extensions rule. (#15171) (Connor Shea)
  • b0cc5de linter: Add configuration option docs for 4 jest rules (#15172) (Connor Shea)
  • 4dd1a4e linter: Remove unnecessary link comments. (#15175) (Connor Shea)
  • 28642a9 linter: Add configuration option docs for various jsx-a11y rules (#15179) (Connor Shea)
  • ace4def linter: Add configuration option docs for unicorn/no-array-reverse rule. (#15143) (Connor Shea)
  • f707fc9 linter: Add configuration option docs for unicorn/no-null rule. (#15144) (Connor Shea)
  • f826b15 linter: Add configuration option docs for unicorn/explicit-length-check rule. (#15145) (Connor Shea)
  • 3d78ad9 linter: Add configuration option docs for react/button-has-type rule. (#15146) (Connor Shea)
  • d68efca linter: Add configuration option docs for unicorn/prefer-structured-clone rule. (#15148) (Connor Shea)
  • 86f6bb9 linter: Add configuration option docs for react/jsx-no-useless-fragment rule. (#15149) (Connor Shea)
  • 4950fb6 linter: Add configuration option docs for eslint/no-duplicate-import rule. (#15150) (Connor Shea)
  • 9b56425 linter: Add configuration option docs for import/max-dependencies rule. (#15151) (Connor Shea)
  • 47d43eb linter: Add configuration option docs for typescript/no-extraneous-class rule. (#15152) (Connor Shea)
  • db30aed linter: Add configuration option docs for react/no-string-refs rule. (#15153) (Connor Shea)
  • 0e753c1 linter: Add configuration option docs for react/check-requires-onchange-or-readonly rule. (#15154) (Connor Shea)
  • 551f236 linter: Add configuration option docs for jest/valid-expect rule. (#15155) (Connor Shea)
  • e860e65 linter: Add configuration option docs for import/first rule. (#15162) (Connor Shea)
  • d9162f6 linter: Add configuration option docs for import/no-dynamic-require rule. (#15157) (Connor Shea)
  • ee85540 linter: Add configuration option docs for eslint/no-redeclare rule. (#15158) (Connor Shea)
  • 24878cb linter: Add configuration option docs for typescript/explicit-function-return-type rule. (#15160) (Connor Shea)
  • 8349771 linter: Add configuration option docs for typescript/no-this-alias rule. (#15161) (Connor Shea)
  • 75f0de0 linter: Add configuration option docs for import/prefer-default-export rule. (#15164) (Connor Shea)
  • 7367353 linter: Add configuration option docs for import/no-namespace rule. (#15165) (Connor Shea)
  • 69babde linter: Add configuration option docs for unicorn/no-array-reduce rule. (#15142) (Connor Shea)
  • 2c40ad8 linter: Add configuration option docs for typescript/consistent-indexed-object-style rule. (#15140) (Connor Shea)
  • a9f5778 linter: Add configuration option docs for unicorn/prefer-number-properties rule. (#15141) (Connor Shea)
  • 41427c2 linter: Add configuration option docs for import/consistent-type-specifier-style rule. (#15139) (Connor Shea)
  • 18274aa linter: Add configuration option docs for import/no-duplicates rule. (#15137) (Connor Shea)
  • d78419f linter: Add configuration option docs for import/no-cycle rule. (#15136) (Connor Shea)
  • 297176c linter: Add configuration option docs for typescript/no-inferrable-types rule. (#15134) (Connor Shea)
  • 1b2aaa0 linter: Add configuration option docs for unicorn/no-useless-promise-resolve-reject rule. (#15135) (Connor Shea)
  • 5c25141 linter: Add configuration option docs for import/no-absolute-path rule. (#15132) (Connor Shea)
  • 053c1de linter: Add configuration option docs for typescript/prefer-literal-enum-member rule. (#15133) (Connor Shea)
  • 7ba65f4 linter/no-loss-off-precision: Fix typo (#15129) (camc314)
  • 59bb65c linter: Add configuration option docs for typescript/triple-slash-reference rule. (#15097) (Connor Shea)
  • 3113dfe linter: Add configuration option docs for typescript/no-empty-interface rule. (#15098) (Connor Shea)
  • 731f80b linter: Add configuration option docs for promise/no-return-wrap rule (#15099) (Connor Shea)
  • c762216 linter: Add configuration option docs for react/self-closing-comp rule. (#15100) (Connor Shea)
  • 88f78b7 linter: Add configuration option docs for promise/prefer-await-to-then rule. (#15102) (Connor Shea)
  • 62dbdc4 linter: Add configuration option docs for promise/catch-or-return rule. (#15103) (Connor Shea)
  • 219537c linter: Add configuration option docs for eslint/no-unsafe-optional-chaining rule. (#15104) (Connor Shea)
  • 4c4a2de linter: Add configuration option docs for unicorn/no-useless-undefined rule. (#15106) (Connor Shea)
  • fc603e9 linter: Add configuration option docs for eslint/no-undef rule. (#15108) (Connor Shea)
  • b8d03ee linter: Add configuration option docs for eslint/prefer-promise-reject-errors rule. (#15110) (Connor Shea)
  • 1e8e3c0 linter: Add configuration option docs for eslint/no-useless-rename rule. (#15111) (Connor Shea)
  • 5e6b62e linter: Add configuration option docs for eslint/no-labels rule. (#15112) (Connor Shea)
  • dde7fde linter: Add configuration option docs for eslint/max-nested-callbacks rule. (#15107) (Connor Shea)

โšก Performance

  • 8b31daa linter/plugins: Small optimizations to ScopeManager (#15334) (overlookmotel)
  • 4c0ba92 linter/plugins: Use singleton object for ScopeManager (#15332) (overlookmotel)
  • c82fab0 ast/estree: Remove pointless assignments from raw transfer deserializers (#15305) (overlookmotel)
  • ee9f2f4 linter/plugins: Faster check for cwd (#15301) (overlookmotel)
  • 313e82e linter/no-unwanted-polyfillio: Should run when source type is jsx (#15204) (shulaoda)

๐Ÿงช Testing

  • 70bf817 linter/no-unused-private-class-members: Add edge case tests for conditional expressions (#15320) (camc314)
  • baaeca8 editor: Skip changing oxc.typeAware test for the moment (#15167) (Sysix)
  • 48e646b oxlint/lsp: Update snapshot for invalid syntax test (#15191) (Sysix)
  • 1c4444c editor: Wait longer for "detects diagnostics on run" fixture (#15156) (Sysix)
  • dbc260b linter: Disable tsgolint exit code specific test on windows (#15117) (camc314)

๐Ÿ’ผ Other

Don't miss a new oxc release

NewReleases is sending notifications on new releases.