chore: bump up oxlint version to ^0.10.0 #25
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.9.0
->^0.10.0
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.10Compare 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: Implementno-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 forno-else-return
(#6349) (DonIsaac)71ad5d3
linter:no-else-return
fixer fails whenelse
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 inunicorn/prefer-string-replace-all
(#6263) (H11)ea28ee9
linter: Improve the fixer ofprefer-namespace-keyword
(#6230) (dalaoshu)f6a3450
linter: Get correct source offsets for astro files (#6196) (camchenry)be0030c
linter: Allow whitespace control characters inno-control-regex
(#6140) (camchenry)e7e8ead
linter: False positive inno-return-assign
(#6128) (DonIsaac)Performance
ac0a82a
linter: Reuse allocator when there are multiple source texts (#6337) (Boshen)50a0029
linter: Do not concat vec inno-useless-length-check
(#6276) (camchenry)Documentation
7ca70dd
linter: Add docs forContextHost
andLintContext
(#6272) (camchenry)a949ecb
linter: Improve docs foreslint/getter-return
(#6229) (DonIsaac)14ba263
linter: Improve docs foreslint-plugin-import
rules (#6131) (dalaoshu)Refactor
40932f7
cfg: Use IndexVec for storing basic blocks (#6323) (DonIsaac)642725c
linter: Rename vars fromast_node_id
tonode_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 inno-control-regex
(#6129) (camchenry)3aa7e42
linter: Use RegExp AST visitor forno-hex-escape
(#6117) (camchenry)9d5b44a
linter: Use regex visitor inno-regex-spaces
(#6063) (camchenry)0d44cf7
linter: Use regex visitor inno-useless-escape
(#6062) (camchenry)eeb8873
linter: Use regex visitor inno-empty-character-class
(#6058) (camchenry)Testing
d883562
linter: Invalideslint/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.8Compare Source
[0.9.8] - 2024-09-24
Bug Fixes
e3c8a12
linter: Fix panic in sort-keys (#6017) (Boshen)4771492
linter: Fiximport/no_cycle
withignoreTypes
(#5995) (Boshen)Performance
5ae3f36
linter:no-fallthrough
: Use string matching instead of Regex for default comment pattern (#6008) (camchenry)65d8f9e
linter, ast-tools, coverage: UseFxHashSet
instead ofstd::collections::HashSet
(#6001) (Cam McHenry)2b17003
linter, prettier, diagnostics: UseFxHashMap
instead ofstd::collections::HashMap
(#5993) (camchenry)v0.9.7
Compare Source
Refactor
ba7b01f
linter: AddLinterBuilder
(#5714) (DonIsaac)v0.9.6
Compare Source
Refactor
a438743
linter: MoveOxlintConfig
toOxlintrc
(#5707) (DonIsaac)v0.9.5
: oxlint v0.9.5Compare Source
[0.9.5] - 2024-09-12
Features
4b04f65
linter: Implementno-plusplus
rule (#5570) (Cam McHenry)9ca2593
linter: Eslint/sort-keys (#4845) (Na'aman Hirschfeld)023c160
linter: ImplSerialize
forOxlintConfig
(#5594) (DonIsaac)24d6a47
linter: Implementeslint/no-invalid-regexp
(#5443) (Boshen)c6bbf94
minifier: Constant fold unary expression (#5669) (Boshen)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: Usecow_replace
instead ofreplace
(#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
userun_on_symbol
(#5618) (overlookmotel)0b7fccf
linter:react/no_set_state
+react/no_string_refs
rules reduce iteration over ancestors (#5616) (overlookmotel)2c3f3fe
linter: Makejsx_key
slightly faster (#5585) (Boshen)cd81d12
linter: Addshould_run
to check path only once to nextjs/no_typos (#5584) (Boshen)d18c896
rust: Usecow_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: AddLintFilter
(#5685) (DonIsaac)4f70fe5
linter: Start internal/external split of LintPluginOptions (#5660) (DonIsaac)5ae9b48
linter: Start internal/external split ofOxlintOptions
(#5659) (DonIsaac)c8bc6f0
linter: Usestd::ptr::eq
(#5649) (overlookmotel)a37c064
linter: UseContentHash
forno_duplicate_case
; removecalculate_hash
(#5648) (Boshen)0b3c1d7
linter: Start internal/external split ofOxlintConfig
(#5595) (DonIsaac)89bdf55
linter: InlineRule
trait default methods (#5619) (overlookmotel)afea8d5
linter: RenameRule
trait method params (#5617) (overlookmotel)4e748b5
linter: Replace ast "compare by hash" to "compare by content" (#5602) (dalaoshu)bac03e3
linter: Make fields ofLintServiceOptions
private (#5593) (DonIsaac)2661d8b
linter: Jest prefer_strict_equal (#5588) (IWANABETHATGUY)067f9b5
semantic: IntroduceIsGlobalReference
trait (#5672) (Boshen)-26d9235
Enable clippy::ref_as_ptr (#5577) (夕舞八弦)Testing
8e79f8d
linter: Add class method test cases foroxc/no-async-await
(#5550) (DonIsaac)3835189
linter: Add test case for no_unused_vars in3b87ac4
(Boshen)5f27551
linter: Add a passing case to no_undef (#5580) (Boshen)v0.9.4
Compare Source
Features
023c160
linter: ImplSerialize
forOxlintConfig
(#5594) (DonIsaac)v0.9.3
Compare Source
Styling
694f032
Add trailing line breaks topackage.json
files (#5542) (overlookmotel)v0.9.2
: oxlint v0.9.2Compare Source
[0.9.2] - 2024-09-02
Features
f81e8a1
linter: Addoxc/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 inno-accumulating-spread
loop diagnostic (#5375) (camc314)db55444
linter/oxc: Add fixer fordouble-comparisons
(#5378) (camc314)e5c755a
linter/promise: Addspec-only
rule (#5124) (Jelle van der Waa)4c0861f
linter/unicorn: Add fixer forprefer-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 injsx_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 inunicorn/consistent_function_scoping
(#5351) (overlookmotel)381d9fe
linter: Shorten code inreact/jsx_no_useless_fragment
(#5350) (overlookmotel)83b9a82
linter: Fix indentation innextjs/no_script_component_in_head
rule (#5338) (overlookmotel)89f0188
linter: Improve docs forreact/jsx_no_target_blank
rule (#5342) (overlookmotel)57050ab
linter: Shorten code injsx_a11y/aria_activedescendant_has_tabindex
rule (#5340) (overlookmotel)ed31d67
linter/jest: Fix indentation in code comment (#5372) (camc314)2499cb9
linter/oxc: Update rule docs forerasing-op
(#5376) (camc314)69493d2
linter/oxc: Improve diagnostic forno-accumulating-spread
in loops (#5374) (camc314)024b585
linter/oxc: Improve code comment forno-accumulating-spread
(#5373) (camc314)v0.9.1
: oxlint v0.9.1Compare Source
[0.9.1] - 2024-08-29
Features
6633972
linter: Add fixer forno-empty
(#5276) (camc314)a58e448
linter/eslint: Add fixer tono-var
(#5144) (camc314)a6e9769
linter/jsx-a11y: Addlabel-has-associated-control
(#5163) (Billy Levin)c8e8532
linter/unicorn: Add fixer tothrow-new-error
(#5275) (camc314)7ccde4b
linter/unicorn: Add fixer toprefer-date-now
(#5147) (camc314)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 forprefer-jest-mocked
creates invalid LHS expressions (#5243) (camc314)9953fa5
linter/no-null: Incorrect fixer forNullLiteral
withinReturnStatement
(#5247) (Dunqing)318479e
linter/no-unused-vars: Mark the class/function in the new expression as used (#5306) (magic-akari)Refactor
fa1d460
linter: Clean up Fixer and Message (#5308) (DonIsaac)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.
This PR was generated by Mend Renovate. View the repository job log.