Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump up oxlint version to ^0.10.0 #25

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 19, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
oxlint (source) ^0.9.0 -> ^0.10.0 age adoption passing confidence

Release Notes

oxc-project/oxc (oxlint)

v0.10.0

Compare Source

Features
  • 6e3224d linter: Configure by category in config files (#​6120) (DonIsaac)

v0.9.10: oxlint v0.9.10

Compare Source

[0.9.10] - 2024-10-08

  • 95ca01c cfg: [BREAKING] Make BasicBlock::unreachable private (#​6321) (DonIsaac)

  • 5a73a66 regular_expression: [BREAKING] Simplify public APIs (#​6262) (leaysgur)

Features
  • f272137 editors/vscode: Clear diagnostics on file deletion (#​6326) (dalaoshu)
  • 1a5f293 editors/vscode: Update VSCode extention to use project's language server (#​6132) (dalaoshu)
  • 376cc09 linter: Implement no-throw-literal (#​6144) (dalaoshu)
  • 5957214 linter: Allow fixing in files with source offsets (#​6197) (camchenry)
  • a089e19 linter: Eslint/no-else-return (#​4305) (yoho)
  • 183739f linter: Implement prefer-await-to-callbacks (#​6153) (dalaoshu)
  • ae539af linter: Implement no-return-assign (#​6108) (Radu Baston)
Bug Fixes
  • 00df6e5 linter: Friendly diagnostic messages for no-else-return (#​6349) (DonIsaac)
  • 71ad5d3 linter: no-else-return fixer fails when else has no trailing whitespace (#​6348) (DonIsaac)
  • 9e9808b linter: Fix regression when parsing ts in vue files (#​6336) (Boshen)
  • 93c6db6 linter: Improve docs and diagnostics message for no-else-return (#​6327) (DonIsaac)
  • e0a3378 linter: Correct false positive in unicorn/prefer-string-replace-all (#​6263) (H11)
  • ea28ee9 linter: Improve the fixer of prefer-namespace-keyword (#​6230) (dalaoshu)
  • f6a3450 linter: Get correct source offsets for astro files (#​6196) (camchenry)
  • be0030c linter: Allow whitespace control characters in no-control-regex (#​6140) (camchenry)
  • e7e8ead linter: False positive in no-return-assign (#​6128) (DonIsaac)
Performance
  • ac0a82a linter: Reuse allocator when there are multiple source texts (#​6337) (Boshen)
  • 50a0029 linter: Do not concat vec in no-useless-length-check (#​6276) (camchenry)
Documentation
  • 7ca70dd linter: Add docs for ContextHost and LintContext (#​6272) (camchenry)
  • a949ecb linter: Improve docs for eslint/getter-return (#​6229) (DonIsaac)
  • 14ba263 linter: Improve docs for eslint-plugin-import rules (#​6131) (dalaoshu)
Refactor
  • 40932f7 cfg: Use IndexVec for storing basic blocks (#​6323) (DonIsaac)
  • 642725c linter: Rename vars from ast_node_id to node_id (#​6305) (overlookmotel)
  • 8413175 linter: Move shared function from utils to rule (#​6127) (dalaoshu)
  • ba9c372 linter: Make jest/vitest rule mapping more clear (#​6273) (camchenry)
  • 82b8f21 linter: Add schemars and serde traits to AllowWarnDeny and RuleCategories (#​6119) (DonIsaac)
  • ea908f7 linter: Consolidate file loading logic (#​6130) (DonIsaac)
  • db751f0 linter: Use regexp AST visitor in no-control-regex (#​6129) (camchenry)
  • 3aa7e42 linter: Use RegExp AST visitor for no-hex-escape (#​6117) (camchenry)
  • 9d5b44a linter: Use regex visitor in no-regex-spaces (#​6063) (camchenry)
  • 0d44cf7 linter: Use regex visitor in no-useless-escape (#​6062) (camchenry)
  • eeb8873 linter: Use regex visitor in no-empty-character-class (#​6058) (camchenry)
Testing
  • d883562 linter: Invalid eslint/no-unused-vars options (#​6228) (DonIsaac)

v0.9.9

Compare Source

Bug Fixes
  • 01b9c4b npm/oxlint: Make bin/oxc_language_server an executable (#​6066) (Boshen)

v0.9.8: oxlint v0.9.8

Compare Source

[0.9.8] - 2024-09-24

Bug Fixes
Performance
  • 5ae3f36 linter: no-fallthrough: Use string matching instead of Regex for default comment pattern (#​6008) (camchenry)
  • 65d8f9e linter, ast-tools, coverage: Use FxHashSet instead of std::collections::HashSet (#​6001) (Cam McHenry)
  • 2b17003 linter, prettier, diagnostics: Use FxHashMap instead of std::collections::HashMap (#​5993) (camchenry)

v0.9.7

Compare Source

Refactor

v0.9.6

Compare Source

Refactor

v0.9.5: oxlint v0.9.5

Compare Source

[0.9.5] - 2024-09-12

Features
Bug Fixes
  • af6d240 linter: Panic in consistent-function-scoping (#​5613) (DonIsaac)
  • 54e2e76 linter: react/no_set_state + react/no_string_refs rules find correct parent (#​5615) (overlookmotel)
  • 3b87ac4 linter: Fix no_unused_vars panic when encountering unicode (#​5582) (Boshen)
Performance
  • bfe9186 linter: Use cow_replace instead of replace (#​5643) (dalaoshu)
  • e3ae5db linter: Use cow_to_ascii_lowercase/uppercase (#​5637) (heygsc)
  • a0370bf linter: Use cow_utils in no_script_url (#​5633) (heygsc)
  • 37e922c linter: eslint/no_shadow_restricted_names use run_on_symbol (#​5618) (overlookmotel)
  • 0b7fccf linter: react/no_set_state + react/no_string_refs rules reduce iteration over ancestors (#​5616) (overlookmotel)
  • 2c3f3fe linter: Make jsx_key slightly faster (#​5585) (Boshen)
  • cd81d12 linter: Add should_run to check path only once to nextjs/no_typos (#​5584) (Boshen)
  • d18c896 rust: Use cow_utils instead (#​5664) (dalaoshu)
Documentation
  • 64f9575 linter: Add plugin usage to example with configuration (Boshen)
  • 8c9179d linter: Fix typos (#​5591) (Brian Donovan)
Refactor
  • 9e9435f linter: Add LintFilter (#​5685) (DonIsaac)
  • 4f70fe5 linter: Start internal/external split of LintPluginOptions (#​5660) (DonIsaac)
  • 5ae9b48 linter: Start internal/external split of OxlintOptions (#​5659) (DonIsaac)
  • c8bc6f0 linter: Use std::ptr::eq (#​5649) (overlookmotel)
  • a37c064 linter: Use ContentHash for no_duplicate_case; remove calculate_hash (#​5648) (Boshen)
  • 0b3c1d7 linter: Start internal/external split of OxlintConfig (#​5595) (DonIsaac)
  • 89bdf55 linter: Inline Rule trait default methods (#​5619) (overlookmotel)
  • afea8d5 linter: Rename Rule trait method params (#​5617) (overlookmotel)
  • 4e748b5 linter: Replace ast "compare by hash" to "compare by content" (#​5602) (dalaoshu)
  • bac03e3 linter: Make fields of LintServiceOptions private (#​5593) (DonIsaac)
  • 2661d8b linter: Jest prefer_strict_equal (#​5588) (IWANABETHATGUY)
  • 067f9b5 semantic: Introduce IsGlobalReference trait (#​5672) (Boshen)- 26d9235 Enable clippy::ref_as_ptr (#​5577) (夕舞八弦)
Testing
  • 8e79f8d linter: Add class method test cases for oxc/no-async-await (#​5550) (DonIsaac)
  • 3835189 linter: Add test case for no_unused_vars in 3b87ac4 (Boshen)
  • 5f27551 linter: Add a passing case to no_undef (#​5580) (Boshen)

v0.9.4

Compare Source

Features

v0.9.3

Compare Source

Styling
  • 694f032 Add trailing line breaks to package.json files (#​5542) (overlookmotel)

v0.9.2: oxlint v0.9.2

Compare Source

[0.9.2] - 2024-09-02

Features
  • f81e8a1 linter: Add oxc/no-async-endpoint-handlers (#​5364) (DonIsaac)
  • b103737 linter: Improve no-accumulating-spread (#​5302) (camc314)
  • 9c22ce9 linter: Add hyperlinks to diagnostic messages (#​5318) (DonIsaac)
  • 1967c67 linter/eslint: Implement no-new-func (#​5360) (dalaoshu)
  • b867e5f linter/eslint-plugin-promise: Implement catch-or-return (#​5121) (Jelle van der Waa)
  • 8d781e7 linter/oxc: Differentiate between array/object in no-accumulating-spread loop diagnostic (#​5375) (camc314)
  • db55444 linter/oxc: Add fixer for double-comparisons (#​5378) (camc314)
  • e5c755a linter/promise: Add spec-only rule (#​5124) (Jelle van der Waa)
  • 4c0861f linter/unicorn: Add fixer for prefer-type-error (#​5311) (camc314)
  • 084c2d1 linter/vitest: Implement prefer-to-be-object (#​5321) (dalaoshu)
Bug Fixes
  • 11b93af linter/unicorn: Consistent-function-scoping false positive on assignment expression (#​5312) (Arian94)
Performance
  • f052a6d linter: react/jsx_no_undef faster check for unbound references (#​5349) (overlookmotel)
  • 05636b7 linter: Avoid unnecessary work in jsx_a11y/anchor_is_valid rule (#​5341) (overlookmotel)
Refactor
  • afb038e linter: react/jsx_no_undef use loop instead of recursion (#​5347) (overlookmotel)
  • fe62687 linter: Simplify skipping JSX elements in unicorn/consistent_function_scoping (#​5351) (overlookmotel)
  • 381d9fe linter: Shorten code in react/jsx_no_useless_fragment (#​5350) (overlookmotel)
  • 83b9a82 linter: Fix indentation in nextjs/no_script_component_in_head rule (#​5338) (overlookmotel)
  • 89f0188 linter: Improve docs for react/jsx_no_target_blank rule (#​5342) (overlookmotel)
  • 57050ab linter: Shorten code in jsx_a11y/aria_activedescendant_has_tabindex rule (#​5340) (overlookmotel)
  • ed31d67 linter/jest: Fix indentation in code comment (#​5372) (camc314)
  • 2499cb9 linter/oxc: Update rule docs for erasing-op (#​5376) (camc314)
  • 69493d2 linter/oxc: Improve diagnostic for no-accumulating-spread in loops (#​5374) (camc314)
  • 024b585 linter/oxc: Improve code comment for no-accumulating-spread (#​5373) (camc314)

v0.9.1: oxlint v0.9.1

Compare Source

[0.9.1] - 2024-08-29

Features
Bug Fixes
  • fdef8ae linter: Jest/vitest rule compat (#​4797) (cinchen)
  • 76e86f8 linter: Eslint-plugin-unicorn prefer-spread wrong linter suggestion on variables of type string (#​5265) (Arian94)
  • b39544e linter/jest: Fixer for prefer-jest-mocked creates invalid LHS expressions (#​5243) (camc314)
  • 9953fa5 linter/no-null: Incorrect fixer for NullLiteral within ReturnStatement (#​5247) (Dunqing)
  • 318479e linter/no-unused-vars: Mark the class/function in the new expression as used (#​5306) (magic-akari)
Refactor

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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 4e53b32 to ac57b74 Compare October 22, 2024 01:00
@Brooooooklyn Brooooooklyn merged commit b8cb989 into main Oct 22, 2024
30 checks passed
@renovate renovate bot deleted the renovate/all-minor-patch branch October 22, 2024 03:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant