Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: bump up oxlint version to ^0.10.0 (#25)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [oxlint](https://oxc.rs) ([source](https://redirect.github.com/oxc-project/oxc/tree/HEAD/npm/oxlint)) | [`^0.9.0` -> `^0.10.0`](https://renovatebot.com/diffs/npm/oxlint/0.9.0/0.10.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/oxlint/0.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/oxlint/0.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/oxlint/0.9.0/0.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/oxlint/0.9.0/0.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>oxc-project/oxc (oxlint)</summary> ### [`v0.10.0`](https://redirect.github.com/oxc-project/oxc/blob/HEAD/npm/oxlint/CHANGELOG.md#0100---2024-10-18) [Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v0.9.10...oxlint_v0.10.0) ##### Features - [`6e3224d`](https://redirect.github.com/oxc-project/oxc/commit/6e3224d) linter: Configure by category in config files ([#​6120](https://redirect.github.com/oxc-project/oxc/issues/6120)) (DonIsaac) ### [`v0.9.10`](https://redirect.github.com/oxc-project/oxc/releases/tag/oxlint_v0.9.10): oxlint v0.9.10 [Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v0.9.9...oxlint_v0.9.10) #### \[0.9.10] - 2024-10-08 - [`95ca01c`](https://redirect.github.com/oxc-project/oxc/commit/95ca01c) cfg: \[**BREAKING**] Make BasicBlock::unreachable private ([#​6321](https://redirect.github.com/oxc-project/oxc/issues/6321)) (DonIsaac) - [`5a73a66`](https://redirect.github.com/oxc-project/oxc/commit/5a73a66) regular_expression: \[**BREAKING**] Simplify public APIs ([#​6262](https://redirect.github.com/oxc-project/oxc/issues/6262)) (leaysgur) ##### Features - [`f272137`](https://redirect.github.com/oxc-project/oxc/commit/f272137) editors/vscode: Clear diagnostics on file deletion ([#​6326](https://redirect.github.com/oxc-project/oxc/issues/6326)) (dalaoshu) - [`1a5f293`](https://redirect.github.com/oxc-project/oxc/commit/1a5f293) editors/vscode: Update VSCode extention to use project's language server ([#​6132](https://redirect.github.com/oxc-project/oxc/issues/6132)) (dalaoshu) - [`376cc09`](https://redirect.github.com/oxc-project/oxc/commit/376cc09) linter: Implement `no-throw-literal` ([#​6144](https://redirect.github.com/oxc-project/oxc/issues/6144)) (dalaoshu) - [`5957214`](https://redirect.github.com/oxc-project/oxc/commit/5957214) linter: Allow fixing in files with source offsets ([#​6197](https://redirect.github.com/oxc-project/oxc/issues/6197)) (camchenry) - [`a089e19`](https://redirect.github.com/oxc-project/oxc/commit/a089e19) linter: Eslint/no-else-return ([#​4305](https://redirect.github.com/oxc-project/oxc/issues/4305)) (yoho) - [`183739f`](https://redirect.github.com/oxc-project/oxc/commit/183739f) linter: Implement prefer-await-to-callbacks ([#​6153](https://redirect.github.com/oxc-project/oxc/issues/6153)) (dalaoshu) - [`ae539af`](https://redirect.github.com/oxc-project/oxc/commit/ae539af) linter: Implement no-return-assign ([#​6108](https://redirect.github.com/oxc-project/oxc/issues/6108)) (Radu Baston) ##### Bug Fixes - [`00df6e5`](https://redirect.github.com/oxc-project/oxc/commit/00df6e5) linter: Friendly diagnostic messages for `no-else-return` ([#​6349](https://redirect.github.com/oxc-project/oxc/issues/6349)) (DonIsaac) - [`71ad5d3`](https://redirect.github.com/oxc-project/oxc/commit/71ad5d3) linter: `no-else-return` fixer fails when `else` has no trailing whitespace ([#​6348](https://redirect.github.com/oxc-project/oxc/issues/6348)) (DonIsaac) - [`9e9808b`](https://redirect.github.com/oxc-project/oxc/commit/9e9808b) linter: Fix regression when parsing ts in vue files ([#​6336](https://redirect.github.com/oxc-project/oxc/issues/6336)) (Boshen) - [`93c6db6`](https://redirect.github.com/oxc-project/oxc/commit/93c6db6) linter: Improve docs and diagnostics message for no-else-return ([#​6327](https://redirect.github.com/oxc-project/oxc/issues/6327)) (DonIsaac) - [`e0a3378`](https://redirect.github.com/oxc-project/oxc/commit/e0a3378) linter: Correct false positive in `unicorn/prefer-string-replace-all` ([#​6263](https://redirect.github.com/oxc-project/oxc/issues/6263)) (H11) - [`ea28ee9`](https://redirect.github.com/oxc-project/oxc/commit/ea28ee9) linter: Improve the fixer of `prefer-namespace-keyword` ([#​6230](https://redirect.github.com/oxc-project/oxc/issues/6230)) (dalaoshu) - [`f6a3450`](https://redirect.github.com/oxc-project/oxc/commit/f6a3450) linter: Get correct source offsets for astro files ([#​6196](https://redirect.github.com/oxc-project/oxc/issues/6196)) (camchenry) - [`be0030c`](https://redirect.github.com/oxc-project/oxc/commit/be0030c) linter: Allow whitespace control characters in `no-control-regex` ([#​6140](https://redirect.github.com/oxc-project/oxc/issues/6140)) (camchenry) - [`e7e8ead`](https://redirect.github.com/oxc-project/oxc/commit/e7e8ead) linter: False positive in `no-return-assign` ([#​6128](https://redirect.github.com/oxc-project/oxc/issues/6128)) (DonIsaac) ##### Performance - [`ac0a82a`](https://redirect.github.com/oxc-project/oxc/commit/ac0a82a) linter: Reuse allocator when there are multiple source texts ([#​6337](https://redirect.github.com/oxc-project/oxc/issues/6337)) (Boshen) - [`50a0029`](https://redirect.github.com/oxc-project/oxc/commit/50a0029) linter: Do not concat vec in `no-useless-length-check` ([#​6276](https://redirect.github.com/oxc-project/oxc/issues/6276)) (camchenry) ##### Documentation - [`7ca70dd`](https://redirect.github.com/oxc-project/oxc/commit/7ca70dd) linter: Add docs for `ContextHost` and `LintContext` ([#​6272](https://redirect.github.com/oxc-project/oxc/issues/6272)) (camchenry) - [`a949ecb`](https://redirect.github.com/oxc-project/oxc/commit/a949ecb) linter: Improve docs for `eslint/getter-return` ([#​6229](https://redirect.github.com/oxc-project/oxc/issues/6229)) (DonIsaac) - [`14ba263`](https://redirect.github.com/oxc-project/oxc/commit/14ba263) linter: Improve docs for `eslint-plugin-import` rules ([#​6131](https://redirect.github.com/oxc-project/oxc/issues/6131)) (dalaoshu) ##### Refactor - [`40932f7`](https://redirect.github.com/oxc-project/oxc/commit/40932f7) cfg: Use IndexVec for storing basic blocks ([#​6323](https://redirect.github.com/oxc-project/oxc/issues/6323)) (DonIsaac) - [`642725c`](https://redirect.github.com/oxc-project/oxc/commit/642725c) linter: Rename vars from `ast_node_id` to `node_id` ([#​6305](https://redirect.github.com/oxc-project/oxc/issues/6305)) (overlookmotel) - [`8413175`](https://redirect.github.com/oxc-project/oxc/commit/8413175) linter: Move shared function from utils to rule ([#​6127](https://redirect.github.com/oxc-project/oxc/issues/6127)) (dalaoshu) - [`ba9c372`](https://redirect.github.com/oxc-project/oxc/commit/ba9c372) linter: Make jest/vitest rule mapping more clear ([#​6273](https://redirect.github.com/oxc-project/oxc/issues/6273)) (camchenry) - [`82b8f21`](https://redirect.github.com/oxc-project/oxc/commit/82b8f21) linter: Add schemars and serde traits to AllowWarnDeny and RuleCategories ([#​6119](https://redirect.github.com/oxc-project/oxc/issues/6119)) (DonIsaac) - [`ea908f7`](https://redirect.github.com/oxc-project/oxc/commit/ea908f7) linter: Consolidate file loading logic ([#​6130](https://redirect.github.com/oxc-project/oxc/issues/6130)) (DonIsaac) - [`db751f0`](https://redirect.github.com/oxc-project/oxc/commit/db751f0) linter: Use regexp AST visitor in `no-control-regex` ([#​6129](https://redirect.github.com/oxc-project/oxc/issues/6129)) (camchenry) - [`3aa7e42`](https://redirect.github.com/oxc-project/oxc/commit/3aa7e42) linter: Use RegExp AST visitor for `no-hex-escape` ([#​6117](https://redirect.github.com/oxc-project/oxc/issues/6117)) (camchenry) - [`9d5b44a`](https://redirect.github.com/oxc-project/oxc/commit/9d5b44a) linter: Use regex visitor in `no-regex-spaces` ([#​6063](https://redirect.github.com/oxc-project/oxc/issues/6063)) (camchenry) - [`0d44cf7`](https://redirect.github.com/oxc-project/oxc/commit/0d44cf7) linter: Use regex visitor in `no-useless-escape` ([#​6062](https://redirect.github.com/oxc-project/oxc/issues/6062)) (camchenry) - [`eeb8873`](https://redirect.github.com/oxc-project/oxc/commit/eeb8873) linter: Use regex visitor in `no-empty-character-class` ([#​6058](https://redirect.github.com/oxc-project/oxc/issues/6058)) (camchenry) ##### Testing - [`d883562`](https://redirect.github.com/oxc-project/oxc/commit/d883562) linter: Invalid `eslint/no-unused-vars` options ([#​6228](https://redirect.github.com/oxc-project/oxc/issues/6228)) (DonIsaac) ### [`v0.9.9`](https://redirect.github.com/oxc-project/oxc/blob/HEAD/npm/oxlint/CHANGELOG.md#099---2024-09-27) [Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v0.9.8...oxlint_v0.9.9) ##### Bug Fixes - [`01b9c4b`](https://redirect.github.com/oxc-project/oxc/commit/01b9c4b) npm/oxlint: Make bin/oxc_language_server an executable ([#​6066](https://redirect.github.com/oxc-project/oxc/issues/6066)) (Boshen) ### [`v0.9.8`](https://redirect.github.com/oxc-project/oxc/releases/tag/oxlint_v0.9.8): oxlint v0.9.8 [Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v0.9.7...oxlint_v0.9.8) #### \[0.9.8] - 2024-09-24 ##### Bug Fixes - [`e3c8a12`](https://redirect.github.com/oxc-project/oxc/commit/e3c8a12) linter: Fix panic in sort-keys ([#​6017](https://redirect.github.com/oxc-project/oxc/issues/6017)) (Boshen) - [`4771492`](https://redirect.github.com/oxc-project/oxc/commit/4771492) linter: Fix `import/no_cycle` with `ignoreTypes` ([#​5995](https://redirect.github.com/oxc-project/oxc/issues/5995)) (Boshen) ##### Performance - [`5ae3f36`](https://redirect.github.com/oxc-project/oxc/commit/5ae3f36) linter: `no-fallthrough`: Use string matching instead of Regex for default comment pattern ([#​6008](https://redirect.github.com/oxc-project/oxc/issues/6008)) (camchenry) - [`65d8f9e`](https://redirect.github.com/oxc-project/oxc/commit/65d8f9e) linter, ast-tools, coverage: Use `FxHashSet` instead of `std::collections::HashSet` ([#​6001](https://redirect.github.com/oxc-project/oxc/issues/6001)) (Cam McHenry) - [`2b17003`](https://redirect.github.com/oxc-project/oxc/commit/2b17003) linter, prettier, diagnostics: Use `FxHashMap` instead of `std::collections::HashMap` ([#​5993](https://redirect.github.com/oxc-project/oxc/issues/5993)) (camchenry) ### [`v0.9.7`](https://redirect.github.com/oxc-project/oxc/blob/HEAD/npm/oxlint/CHANGELOG.md#097---2024-09-23) [Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v0.9.6...oxlint_v0.9.7) ##### Refactor - [`ba7b01f`](https://redirect.github.com/oxc-project/oxc/commit/ba7b01f) linter: Add `LinterBuilder` ([#​5714](https://redirect.github.com/oxc-project/oxc/issues/5714)) (DonIsaac) ### [`v0.9.6`](https://redirect.github.com/oxc-project/oxc/blob/HEAD/npm/oxlint/CHANGELOG.md#096---2024-09-18) [Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v0.9.5...oxlint_v0.9.6) ##### Refactor - [`a438743`](https://redirect.github.com/oxc-project/oxc/commit/a438743) linter: Move `OxlintConfig` to `Oxlintrc` ([#​5707](https://redirect.github.com/oxc-project/oxc/issues/5707)) (DonIsaac) ### [`v0.9.5`](https://redirect.github.com/oxc-project/oxc/releases/tag/oxlint_v0.9.5): oxlint v0.9.5 [Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v0.9.4...oxlint_v0.9.5) #### \[0.9.5] - 2024-09-12 ##### Features - [`4b04f65`](https://redirect.github.com/oxc-project/oxc/commit/4b04f65) linter: Implement `no-plusplus` rule ([#​5570](https://redirect.github.com/oxc-project/oxc/issues/5570)) (Cam McHenry) - [`9ca2593`](https://redirect.github.com/oxc-project/oxc/commit/9ca2593) linter: Eslint/sort-keys ([#​4845](https://redirect.github.com/oxc-project/oxc/issues/4845)) (Na'aman Hirschfeld) - [`023c160`](https://redirect.github.com/oxc-project/oxc/commit/023c160) linter: Impl `Serialize` for `OxlintConfig` ([#​5594](https://redirect.github.com/oxc-project/oxc/issues/5594)) (DonIsaac) - [`24d6a47`](https://redirect.github.com/oxc-project/oxc/commit/24d6a47) linter: Implement `eslint/no-invalid-regexp` ([#​5443](https://redirect.github.com/oxc-project/oxc/issues/5443)) (Boshen) - [`c6bbf94`](https://redirect.github.com/oxc-project/oxc/commit/c6bbf94) minifier: Constant fold unary expression ([#​5669](https://redirect.github.com/oxc-project/oxc/issues/5669)) (Boshen) ##### Bug Fixes - [`af6d240`](https://redirect.github.com/oxc-project/oxc/commit/af6d240) linter: Panic in consistent-function-scoping ([#​5613](https://redirect.github.com/oxc-project/oxc/issues/5613)) (DonIsaac) - [`54e2e76`](https://redirect.github.com/oxc-project/oxc/commit/54e2e76) linter: `react/no_set_state` + `react/no_string_refs` rules find correct parent ([#​5615](https://redirect.github.com/oxc-project/oxc/issues/5615)) (overlookmotel) - [`3b87ac4`](https://redirect.github.com/oxc-project/oxc/commit/3b87ac4) linter: Fix no_unused_vars panic when encountering unicode ([#​5582](https://redirect.github.com/oxc-project/oxc/issues/5582)) (Boshen) ##### Performance - [`bfe9186`](https://redirect.github.com/oxc-project/oxc/commit/bfe9186) linter: Use `cow_replace` instead of `replace` ([#​5643](https://redirect.github.com/oxc-project/oxc/issues/5643)) (dalaoshu) - [`e3ae5db`](https://redirect.github.com/oxc-project/oxc/commit/e3ae5db) linter: Use cow_to_ascii_lowercase/uppercase ([#​5637](https://redirect.github.com/oxc-project/oxc/issues/5637)) (heygsc) - [`a0370bf`](https://redirect.github.com/oxc-project/oxc/commit/a0370bf) linter: Use cow_utils in no_script_url ([#​5633](https://redirect.github.com/oxc-project/oxc/issues/5633)) (heygsc) - [`37e922c`](https://redirect.github.com/oxc-project/oxc/commit/37e922c) linter: `eslint/no_shadow_restricted_names` use `run_on_symbol` ([#​5618](https://redirect.github.com/oxc-project/oxc/issues/5618)) (overlookmotel) - [`0b7fccf`](https://redirect.github.com/oxc-project/oxc/commit/0b7fccf) linter: `react/no_set_state` + `react/no_string_refs` rules reduce iteration over ancestors ([#​5616](https://redirect.github.com/oxc-project/oxc/issues/5616)) (overlookmotel) - [`2c3f3fe`](https://redirect.github.com/oxc-project/oxc/commit/2c3f3fe) linter: Make `jsx_key` slightly faster ([#​5585](https://redirect.github.com/oxc-project/oxc/issues/5585)) (Boshen) - [`cd81d12`](https://redirect.github.com/oxc-project/oxc/commit/cd81d12) linter: Add `should_run` to check path only once to nextjs/no_typos ([#​5584](https://redirect.github.com/oxc-project/oxc/issues/5584)) (Boshen) - [`d18c896`](https://redirect.github.com/oxc-project/oxc/commit/d18c896) rust: Use `cow_utils` instead ([#​5664](https://redirect.github.com/oxc-project/oxc/issues/5664)) (dalaoshu) ##### Documentation - [`64f9575`](https://redirect.github.com/oxc-project/oxc/commit/64f9575) linter: Add plugin usage to example with configuration (Boshen) - [`8c9179d`](https://redirect.github.com/oxc-project/oxc/commit/8c9179d) linter: Fix typos ([#​5591](https://redirect.github.com/oxc-project/oxc/issues/5591)) (Brian Donovan) ##### Refactor - [`9e9435f`](https://redirect.github.com/oxc-project/oxc/commit/9e9435f) linter: Add `LintFilter` ([#​5685](https://redirect.github.com/oxc-project/oxc/issues/5685)) (DonIsaac) - [`4f70fe5`](https://redirect.github.com/oxc-project/oxc/commit/4f70fe5) linter: Start internal/external split of LintPluginOptions ([#​5660](https://redirect.github.com/oxc-project/oxc/issues/5660)) (DonIsaac) - [`5ae9b48`](https://redirect.github.com/oxc-project/oxc/commit/5ae9b48) linter: Start internal/external split of `OxlintOptions` ([#​5659](https://redirect.github.com/oxc-project/oxc/issues/5659)) (DonIsaac) - [`c8bc6f0`](https://redirect.github.com/oxc-project/oxc/commit/c8bc6f0) linter: Use `std::ptr::eq` ([#​5649](https://redirect.github.com/oxc-project/oxc/issues/5649)) (overlookmotel) - [`a37c064`](https://redirect.github.com/oxc-project/oxc/commit/a37c064) linter: Use `ContentHash` for `no_duplicate_case`; remove `calculate_hash` ([#​5648](https://redirect.github.com/oxc-project/oxc/issues/5648)) (Boshen) - [`0b3c1d7`](https://redirect.github.com/oxc-project/oxc/commit/0b3c1d7) linter: Start internal/external split of `OxlintConfig` ([#​5595](https://redirect.github.com/oxc-project/oxc/issues/5595)) (DonIsaac) - [`89bdf55`](https://redirect.github.com/oxc-project/oxc/commit/89bdf55) linter: Inline `Rule` trait default methods ([#​5619](https://redirect.github.com/oxc-project/oxc/issues/5619)) (overlookmotel) - [`afea8d5`](https://redirect.github.com/oxc-project/oxc/commit/afea8d5) linter: Rename `Rule` trait method params ([#​5617](https://redirect.github.com/oxc-project/oxc/issues/5617)) (overlookmotel) - [`4e748b5`](https://redirect.github.com/oxc-project/oxc/commit/4e748b5) linter: Replace ast "compare by hash" to "compare by content" ([#​5602](https://redirect.github.com/oxc-project/oxc/issues/5602)) (dalaoshu) - [`bac03e3`](https://redirect.github.com/oxc-project/oxc/commit/bac03e3) linter: Make fields of `LintServiceOptions` private ([#​5593](https://redirect.github.com/oxc-project/oxc/issues/5593)) (DonIsaac) - [`2661d8b`](https://redirect.github.com/oxc-project/oxc/commit/2661d8b) linter: Jest prefer_strict_equal ([#​5588](https://redirect.github.com/oxc-project/oxc/issues/5588)) (IWANABETHATGUY) - [`067f9b5`](https://redirect.github.com/oxc-project/oxc/commit/067f9b5) semantic: Introduce `IsGlobalReference` trait ([#​5672](https://redirect.github.com/oxc-project/oxc/issues/5672)) (Boshen)- [`26d9235`](https://redirect.github.com/oxc-project/oxc/commit/26d9235) Enable clippy::ref_as_ptr ([#​5577](https://redirect.github.com/oxc-project/oxc/issues/5577)) (夕舞八弦) ##### Testing - [`8e79f8d`](https://redirect.github.com/oxc-project/oxc/commit/8e79f8d) linter: Add class method test cases for `oxc/no-async-await` ([#​5550](https://redirect.github.com/oxc-project/oxc/issues/5550)) (DonIsaac) - [`3835189`](https://redirect.github.com/oxc-project/oxc/commit/3835189) linter: Add test case for no_unused_vars in [`3b87ac4`](https://redirect.github.com/oxc-project/oxc/commit/3b87ac4) (Boshen) - [`5f27551`](https://redirect.github.com/oxc-project/oxc/commit/5f27551) linter: Add a passing case to no_undef ([#​5580](https://redirect.github.com/oxc-project/oxc/issues/5580)) (Boshen) ### [`v0.9.4`](https://redirect.github.com/oxc-project/oxc/blob/HEAD/npm/oxlint/CHANGELOG.md#094---2024-09-12) [Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v0.9.3...oxlint_v0.9.4) ##### Features - [`023c160`](https://redirect.github.com/oxc-project/oxc/commit/023c160) linter: Impl `Serialize` for `OxlintConfig` ([#​5594](https://redirect.github.com/oxc-project/oxc/issues/5594)) (DonIsaac) ### [`v0.9.3`](https://redirect.github.com/oxc-project/oxc/blob/HEAD/npm/oxlint/CHANGELOG.md#093---2024-09-07) [Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v0.9.2...oxlint_v0.9.3) ##### Styling - [`694f032`](https://redirect.github.com/oxc-project/oxc/commit/694f032) Add trailing line breaks to `package.json` files ([#​5542](https://redirect.github.com/oxc-project/oxc/issues/5542)) (overlookmotel) ### [`v0.9.2`](https://redirect.github.com/oxc-project/oxc/releases/tag/oxlint_v0.9.2): oxlint v0.9.2 [Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v0.9.1...oxlint_v0.9.2) #### \[0.9.2] - 2024-09-02 ##### Features - [`f81e8a1`](https://redirect.github.com/oxc-project/oxc/commit/f81e8a1) linter: Add `oxc/no-async-endpoint-handlers` ([#​5364](https://redirect.github.com/oxc-project/oxc/issues/5364)) (DonIsaac) - [`b103737`](https://redirect.github.com/oxc-project/oxc/commit/b103737) linter: Improve no-accumulating-spread ([#​5302](https://redirect.github.com/oxc-project/oxc/issues/5302)) (camc314) - [`9c22ce9`](https://redirect.github.com/oxc-project/oxc/commit/9c22ce9) linter: Add hyperlinks to diagnostic messages ([#​5318](https://redirect.github.com/oxc-project/oxc/issues/5318)) (DonIsaac) - [`1967c67`](https://redirect.github.com/oxc-project/oxc/commit/1967c67) linter/eslint: Implement no-new-func ([#​5360](https://redirect.github.com/oxc-project/oxc/issues/5360)) (dalaoshu) - [`b867e5f`](https://redirect.github.com/oxc-project/oxc/commit/b867e5f) linter/eslint-plugin-promise: Implement catch-or-return ([#​5121](https://redirect.github.com/oxc-project/oxc/issues/5121)) (Jelle van der Waa) - [`8d781e7`](https://redirect.github.com/oxc-project/oxc/commit/8d781e7) linter/oxc: Differentiate between array/object in `no-accumulating-spread` loop diagnostic ([#​5375](https://redirect.github.com/oxc-project/oxc/issues/5375)) (camc314) - [`db55444`](https://redirect.github.com/oxc-project/oxc/commit/db55444) linter/oxc: Add fixer for `double-comparisons` ([#​5378](https://redirect.github.com/oxc-project/oxc/issues/5378)) (camc314) - [`e5c755a`](https://redirect.github.com/oxc-project/oxc/commit/e5c755a) linter/promise: Add `spec-only` rule ([#​5124](https://redirect.github.com/oxc-project/oxc/issues/5124)) (Jelle van der Waa) - [`4c0861f`](https://redirect.github.com/oxc-project/oxc/commit/4c0861f) linter/unicorn: Add fixer for `prefer-type-error` ([#​5311](https://redirect.github.com/oxc-project/oxc/issues/5311)) (camc314) - [`084c2d1`](https://redirect.github.com/oxc-project/oxc/commit/084c2d1) linter/vitest: Implement prefer-to-be-object ([#​5321](https://redirect.github.com/oxc-project/oxc/issues/5321)) (dalaoshu) ##### Bug Fixes - [`11b93af`](https://redirect.github.com/oxc-project/oxc/commit/11b93af) linter/unicorn: Consistent-function-scoping false positive on assignment expression ([#​5312](https://redirect.github.com/oxc-project/oxc/issues/5312)) (Arian94) ##### Performance - [`f052a6d`](https://redirect.github.com/oxc-project/oxc/commit/f052a6d) linter: `react/jsx_no_undef` faster check for unbound references ([#​5349](https://redirect.github.com/oxc-project/oxc/issues/5349)) (overlookmotel) - [`05636b7`](https://redirect.github.com/oxc-project/oxc/commit/05636b7) linter: Avoid unnecessary work in `jsx_a11y/anchor_is_valid` rule ([#​5341](https://redirect.github.com/oxc-project/oxc/issues/5341)) (overlookmotel) ##### Refactor - [`afb038e`](https://redirect.github.com/oxc-project/oxc/commit/afb038e) linter: `react/jsx_no_undef` use loop instead of recursion ([#​5347](https://redirect.github.com/oxc-project/oxc/issues/5347)) (overlookmotel) - [`fe62687`](https://redirect.github.com/oxc-project/oxc/commit/fe62687) linter: Simplify skipping JSX elements in `unicorn/consistent_function_scoping` ([#​5351](https://redirect.github.com/oxc-project/oxc/issues/5351)) (overlookmotel) - [`381d9fe`](https://redirect.github.com/oxc-project/oxc/commit/381d9fe) linter: Shorten code in `react/jsx_no_useless_fragment` ([#​5350](https://redirect.github.com/oxc-project/oxc/issues/5350)) (overlookmotel) - [`83b9a82`](https://redirect.github.com/oxc-project/oxc/commit/83b9a82) linter: Fix indentation in `nextjs/no_script_component_in_head` rule ([#​5338](https://redirect.github.com/oxc-project/oxc/issues/5338)) (overlookmotel) - [`89f0188`](https://redirect.github.com/oxc-project/oxc/commit/89f0188) linter: Improve docs for `react/jsx_no_target_blank` rule ([#​5342](https://redirect.github.com/oxc-project/oxc/issues/5342)) (overlookmotel) - [`57050ab`](https://redirect.github.com/oxc-project/oxc/commit/57050ab) linter: Shorten code in `jsx_a11y/aria_activedescendant_has_tabindex` rule ([#​5340](https://redirect.github.com/oxc-project/oxc/issues/5340)) (overlookmotel) - [`ed31d67`](https://redirect.github.com/oxc-project/oxc/commit/ed31d67) linter/jest: Fix indentation in code comment ([#​5372](https://redirect.github.com/oxc-project/oxc/issues/5372)) (camc314) - [`2499cb9`](https://redirect.github.com/oxc-project/oxc/commit/2499cb9) linter/oxc: Update rule docs for `erasing-op` ([#​5376](https://redirect.github.com/oxc-project/oxc/issues/5376)) (camc314) - [`69493d2`](https://redirect.github.com/oxc-project/oxc/commit/69493d2) linter/oxc: Improve diagnostic for `no-accumulating-spread` in loops ([#​5374](https://redirect.github.com/oxc-project/oxc/issues/5374)) (camc314) - [`024b585`](https://redirect.github.com/oxc-project/oxc/commit/024b585) linter/oxc: Improve code comment for `no-accumulating-spread` ([#​5373](https://redirect.github.com/oxc-project/oxc/issues/5373)) (camc314) ### [`v0.9.1`](https://redirect.github.com/oxc-project/oxc/releases/tag/oxlint_v0.9.1): oxlint v0.9.1 [Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v0.9.0...oxlint_v0.9.1) #### \[0.9.1] - 2024-08-29 ##### Features - [`6633972`](https://redirect.github.com/oxc-project/oxc/commit/6633972) linter: Add fixer for `no-empty` ([#​5276](https://redirect.github.com/oxc-project/oxc/issues/5276)) (camc314) - [`a58e448`](https://redirect.github.com/oxc-project/oxc/commit/a58e448) linter/eslint: Add fixer to `no-var` ([#​5144](https://redirect.github.com/oxc-project/oxc/issues/5144)) (camc314) - [`a6e9769`](https://redirect.github.com/oxc-project/oxc/commit/a6e9769) linter/jsx-a11y: Add `label-has-associated-control` ([#​5163](https://redirect.github.com/oxc-project/oxc/issues/5163)) (Billy Levin) - [`c8e8532`](https://redirect.github.com/oxc-project/oxc/commit/c8e8532) linter/unicorn: Add fixer to `throw-new-error` ([#​5275](https://redirect.github.com/oxc-project/oxc/issues/5275)) (camc314) - [`7ccde4b`](https://redirect.github.com/oxc-project/oxc/commit/7ccde4b) linter/unicorn: Add fixer to `prefer-date-now` ([#​5147](https://redirect.github.com/oxc-project/oxc/issues/5147)) (camc314) ##### Bug Fixes - [`fdef8ae`](https://redirect.github.com/oxc-project/oxc/commit/fdef8ae) linter: Jest/vitest rule compat ([#​4797](https://redirect.github.com/oxc-project/oxc/issues/4797)) (cinchen) - [`76e86f8`](https://redirect.github.com/oxc-project/oxc/commit/76e86f8) linter: Eslint-plugin-unicorn prefer-spread wrong linter suggestion on variables of type string ([#​5265](https://redirect.github.com/oxc-project/oxc/issues/5265)) (Arian94) - [`b39544e`](https://redirect.github.com/oxc-project/oxc/commit/b39544e) linter/jest: Fixer for `prefer-jest-mocked` creates invalid LHS expressions ([#​5243](https://redirect.github.com/oxc-project/oxc/issues/5243)) (camc314) - [`9953fa5`](https://redirect.github.com/oxc-project/oxc/commit/9953fa5) linter/no-null: Incorrect fixer for `NullLiteral` within `ReturnStatement` ([#​5247](https://redirect.github.com/oxc-project/oxc/issues/5247)) (Dunqing) - [`318479e`](https://redirect.github.com/oxc-project/oxc/commit/318479e) linter/no-unused-vars: Mark the class/function in the new expression as used ([#​5306](https://redirect.github.com/oxc-project/oxc/issues/5306)) (magic-akari) ##### Refactor - [`fa1d460`](https://redirect.github.com/oxc-project/oxc/commit/fa1d460) linter: Clean up Fixer and Message ([#​5308](https://redirect.github.com/oxc-project/oxc/issues/5308)) (DonIsaac) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/napi-rs/wasm-tools). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMjAuMSIsInVwZGF0ZWRJblZlciI6IjM4LjEyMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
- Loading branch information