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(deps): update dependency oxlint to ^0.10.0 #854

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 26, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
oxlint (source) ^0.8.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

v0.9.0: oxlint v0.9.0

Compare Source

[0.9.0] - 2024-08-26

This release introduces no-unused-vars as a correctness rule and parsing regular expressions for syntax errors, both may produce false positives. Feel free to submit an issue.

  • 5946748 linter: [BREAKING] Parse and display syntax errors for regular expressions (#​5214) (Boshen)

image

  • b894d3b linter: [BREAKING] Make no-unused-vars correctness (#​5081) (DonIsaac)
Features
  • 1ce9630 linter/config: Implement FromIterator for LintPluginOptions (#​5102) (DonIsaac)
  • 34bfaf6 linter/react: Add fixer to jsx-props-no-spread-multi (#​5145) (camc314)
  • 982bd6e linter/unicorn: Add fixer to require-array-join-separator (#​5152) (camc314)
  • a6704bd linter/unicorn: Add fixer to prefer-set-size (#​5149) (camc314)
  • ac7edcc linter/unicorn: Add fixer to prefer-array-some (#​5153) (camc314)
  • 1d01aa3 linter/unicorn: Add partial fixer for prefer-array-flat (#​5143) (camc314)
  • 22d57f9 linter/unicorn: Add fixer to prefer-string-slice (#​5150) (Cameron)
  • 2fe4415 linter/unicorn: Add fixer to no-redundant-roles (#​5146) (Cameron)
  • d35c6f5 linter/unicorn: Add fixer to prefer-regexp-test (#​5151) (Cameron)
  • 27db769 linter/unicorn: Add fixer to text-encoding-identifier-case (#​5154) (Cameron)
  • f7958c4 linter/unicorn: Add prefer-structured-clone (#​5095) (Jelle van der Waa)
  • 004ffa0 linter/vitest: Implement prefer-each (#​5203) (dalaoshu)
Bug Fixes
  • aaaf26c linter: Error in fixer for prefer-to-have-length (#​5197) (dalaoshu)
  • 1f5b6b6 linter: Bug in fixer for prefer-to-have-length (#​5164) (dalaoshu)
  • 7eb052e linter: no-hex-escape fixer removing regex flags (#​5137) (Cameron)
  • 76c66b4 linter/max-lines: Point span to end of file for disable directive to work (#​5117) (Boshen)
  • 8ff6f2c linter/no-unused-vars: Panic on UsingDeclarations (#​5206) (DonIsaac)
  • d29042e linter/no-unused-vars: Function expression in implicit arrow function return (#​5155) (DonIsaac)
  • 36e4a28 linter/no-unused-vars: Panic in variable declarator usage checks (#​5160) (DonIsaac)
  • ba62a71 linter/react: Fixed false positive with missing key inside React.Children.toArray() for fragments (#​5133) (Earl Chase)
  • fd1031a linter/unicorn: Breaking fixer in case statements for no-null (#​5176) (DonIsaac)
  • 7b86ed6 linter/unicorn: Handle type casts and parens in no-null (#​5175) (Don Isaac)
  • b629e16 linter/unicorn: Improve diagnostic message for no-null (#​5172) (DonIsaac)
Performance
  • ce454cf Use simdutf8 to validate UTF-8 when reading files (#​5196) (dalaoshu)
Refactor
  • 543cad6 codegen: Remove some pub APIs (Boshen)
  • 0d3661a linter: Remove meaningless span0 (#​5209) (dalaoshu)
  • 2a91ef1 linter: eslint/no_redeclare rule use run_on_symbol not run_once (#​5201) (overlookmotel)
  • 33599b0 linter: Split options into multiple files (#​5101) (DonIsaac)
  • 7ab6152 linter/unicorn: Clean up no-null (#​5174) (DonIsaac)
Testing
  • a877e5a linter/no-unused-vars: Ensure type annotations on property accessors are considered used (#​5183) (DonIsaac)
  • 7886618 linter/unicorn: Add fixer tests for no-null (#​5173) (DonIsaac)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link

socket-security bot commented Aug 26, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/[email protected] None 0 23.3 kB boshen

🚮 Removed packages: npm/[email protected]

View full report↗︎

@renovate renovate bot changed the title chore(deps): update dependency oxlint to ^0.9.0 chore(deps): update dependency oxlint to ^0.10.0 Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant