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.
[0.9.4] - 2024-09-12
Features
Serialize
forOxlintConfig
(feat(linter): implSerialize
forOxlintConfig
#5594) (DonIsaac)eslint/no-invalid-regexp
(feat(linter): implementeslint/no-invalid-regexp
#5443) (Boshen)Bug Fixes
react/no_set_state
+react/no_string_refs
rules find correct parent (fix(linter):react/no_set_state
+react/no_string_refs
rules find correct parent #5615) (overlookmotel)Performance
cow_replace
instead ofreplace
(perf(linter): usecow_replace
instead ofreplace
#5643) (dalaoshu)eslint/no_shadow_restricted_names
userun_on_symbol
(perf(linter):eslint/no_shadow_restricted_names
userun_on_symbol
#5618) (overlookmotel)react/no_set_state
+react/no_string_refs
rules reduce iteration over ancestors (perf(linter):react/no_set_state
+react/no_string_refs
rules reduce iteration over ancestors #5616) (overlookmotel)jsx_key
slightly faster (perf(linter): makejsx_key
slightly faster #5585) (Boshen)should_run
to check path only once to nextjs/no_typos (perf(linter): addshould_run
to check path only once to nextjs/no_typos #5584) (Boshen)cow_utils
instead (perf(rust): usecow_utils
instead #5664) (dalaoshu)Documentation
Refactor
LintFilter
(refactor(linter): addLintFilter
#5685) (DonIsaac)OxlintOptions
(refactor(linter): start internal/external split ofOxlintOptions
#5659) (DonIsaac)std::ptr::eq
(refactor(linter): usestd::ptr::eq
#5649) (overlookmotel)ContentHash
forno_duplicate_case
; removecalculate_hash
(refactor(linter): useContentHash
forno_duplicate_case
; removecalculate_hash
#5648) (Boshen)OxlintConfig
(refactor(linter): start internal/external split ofOxlintConfig
#5595) (DonIsaac)Rule
trait default methods (refactor(linter): inlineRule
trait default methods #5619) (overlookmotel)Rule
trait method params (refactor(linter): renameRule
trait method params #5617) (overlookmotel)LintServiceOptions
private (refactor(linter): make fields ofLintServiceOptions
private #5593) (DonIsaac)cli
module (refactor(oxlint): move cli-related exports tocli
module #5139) (DonIsaac)IsGlobalReference
trait (refactor(semantic): introduceIsGlobalReference
trait #5672) (Boshen)- 26d9235 Enable clippy::ref_as_ptr (refactor: enable clippy::ref_as_ptr #5577) (夕舞八弦)Testing
oxc/no-async-await
(test(linter): add class method test cases foroxc/no-async-await
#5550) (DonIsaac)