Releases: oxc-project/oxc
Releases · oxc-project/oxc
oxlint v0.10.1
[0.10.1] - 2024-10-21
Features
- af25752 linter: Add
unicorn/prefer-math-min-max
(#6621) (Brian Liu) - 5095f02 linter: Added fixer for duplicate prefix in valid title jest rule (#6699) (Tapan Prakash)
- e9976d4 linter: Add title whitespace fixer for jest valid title rule (#6669) (Tapan Prakash)
- 45f02d5 linter: Add
unicorn/consistent-empty-array-spread
(#6695) (Brian Liu) - 01a35bb linter/eslint: Show ignore patterns in
eslint/no-unused-vars
diagnostic messages (#6696) (DonIsaac)
Bug Fixes
- 1bcd707 editor: Update config sent to language server (#6724) (Nicholas Rayburn)
- ce25c45 linter: Panic in
disable-directives
(#6677) (dalaoshu) - a5de230 linter/import:
import/no-duplicates
handles namespace imports correctly (#6694) (DonIsaac) - b0b6ac7 linter/no-cond-assign: False positive when assignment is in body statement (#6665) (camchenry)
Performance
- 6a76ea8 linter/no-unused-vars: Use default IgnorePattern when /^_/ is provided as a pattern (#6697) (DonIsaac)
Refactor
- d6609e9 linter: Use
run_on_jest_node
for existing lint rules (#6722) (camchenry) - 97195ec linter: Add
run_on_jest_node
to run rules on only jest nodes (#6721) (camchenry) - 155fe7e linter: Allow
Semantic
to be passed for collecting Jest nodes (#6720) (camchenry) - ad8f281 linter: Use iter for collecting jest nodes (#6719) (camchenry)
- dc19a8f linter: Use iterator for collecting jest imports (#6718) (camchenry)
- 29c1447 linter:
jest/valid-title
fixer to useSpan::shrink
method (#6703) (Tapan Prakash) - 2eb984a linter: Add missing
should_run
implementations (#6666) (camchenry) - 23f88b3 linter/import: Better diagnostic messages for
import/no-duplicates
(#6693) (DonIsaac)
oxlint v0.10.0
[0.10.0] - 2024-10-19
-
7f6b219 editor/vscode: [BREAKING] Unify configuration logic (#6630) (DonIsaac)
-
80266d8 linter: [BREAKING] Support plugins in oxlint config files (#6088) (DonIsaac)
Features
- 6f22538 ecmascript: Add
ToBoolean
,ToNumber
,ToString
(#6502) (Boshen) - 1e7fab3 linter: Implement
no-callback-in-promise
(#6157) (dalaoshu) - c56343d linter: Promote
no_unsafe_optional_chaining
to correctness (#6491) (Boshen) - 454874a linter: Implement
react/iframe-missing-sandbox
(#6383) (Radu Baston) - c8174e2 linter: Add suggestions for
no-plusplus
(#6376) (camchenry) - 6e3224d linter: Configure by category in config files (#6120) (DonIsaac)
- c5e66e1 linter/no-unused-vars: Report own type references within class, interface, and type alias declarations (#6557) (DonIsaac)
- 8c78f97 linter/node: Implement no-new-require (#6165) (Jelle van der Waa)
Bug Fixes
- cf92730 editor: Use human-readable output channel names (#6629) (DonIsaac)
- d9159a2 editor: Misaligned command prefixes (#6628) (DonIsaac)
- b9c94bb editors/vscode: Temporarily solve oxc_language_server issue on windows (#6384) (dalaoshu)
- e340424 linter: Support import type with namespaced import in
import/no-duplicates
(#6650) (Dmitry Zakharov) - a668397 linter: Panic in
no-else-return
(#6648) (dalaoshu) - 41dc8e3 linter: Stack overflow in
oxc/no-async-endpoint-handlers
(#6614) (DonIsaac) - d07a9b0 linter: Panic in
no-zero-fractions
(#6607) (dalaoshu) - d6a0d2e linter: Fix file name checking behavior of
unicorn/filename-case
(#6463) (camchenry) - 0784e74 linter: Error fixer of
switch-case-braces
(#6474) (dalaoshu) - e811812 linter: Error diagnostic message based on parameter length of valid-expect (#6455) (dalaoshu)
- f71c91e linter: Move
eslint/sort-keys
tostyle
category (#6377) (DonIsaac) - 2b86de9 linter/no-control-regex: False negative for flags in template literals (#6531) (DonIsaac)
- 685a590 linter/no-control-regex: Better diagnostic messages (#6530) (DonIsaac)
- 6d5a9f2 linter/no-control-regex: Allow capture group references (#6529) (DonIsaac)
- ba53bc9 linter/no-unused-vars: False positives in TS type assertions (#6397) (DonIsaac)
- d3e59c6 linter/no-unused-vars: False positive in some default export cases (#6395) (DonIsaac)
- e08f956 linter/no-unused-vars: False positive for functions and classes in arrays (#6394) (DonIsaac)
- b9d7c5f no-unused-vars: Consider functions within conditional expressions usable (#6553) (Brian Donovan)
Performance
- 0cbd4d0 linter: Avoid megamorphism in
RuleFixer
methods (#6606) (DonIsaac) - 725f9f6 linter: Get fewer parent nodes in
unicorn/prefer-dom-node-text-content
(#6467) (camchenry) - c00f669 linter: Use NonZeroUsize for pending module cache entries (#6439) (DonIsaac)
- a1a2721 linter: Replace
ToString::to_string
withCompactStr
in remaining rules (#6407) (camchenry) - c5c69d6 linter: Use
CompactStr
invalid-title
(#6406) (camchenry) - d66e826 linter: Use
CompactStr
inprefer-lowercase-title
(#6405) (camchenry) - 889400c linter: Use
CompactStr
forget_node_name
in Jest rules (#6403) (camchenry) - 9906849 linter: Use
CompactStr
inno-large-snapshots
(#6402) (camchenry) - c382ec4 linter: Use
CompactStr
inno-hooks
(#6401) (camchenry) - 24a5d9b linter: Use
CompactStr
inexpect-expect
(#6400) (camchenry) - 71dbdad linter: Use
CompactStr
inno-console
(#6399) (camchenry) - f5f00a1 linter: Use
CompactStr
inno-bitwise
(#6398) (camchenry) - 62afaa9 linter/jsx-no-comment-textnodes: Remove regex for checking comment patterns (#6534) (camchenry)
- b3d0cce linter/no-unescaped-entities: Add fast path to check if char should be replaced (#6594) (camchenry)
- ee73f56 linter/no-unused-vars: Do not construct
Regex
for default ignore pattern (#6590) (camchenry) - 77ddab8 linter/numeric-separators-style: Replace regex with number parser (#6546) (camchenry)
- 8f47cd0 linter/react: Remove regex patterns in
no-unknown-property
(#6536) (camchenry)
Documentation
Refactor
- ecce5c5 linter: Improve recursive argument handling and diagnostics creation (#6513) (no-yan)
- f960e9e linter: Add suggested file names for
unicorn/filename-case
(#6465) (camchenry) - 7240ee2 linter: Make advertised fix kinds consistent (#6461) (Alexander S.)
- b48c368 linter:
no_global_assign
rule: reduce name lookups (#6460) (overlookmotel) - 2566ce7 linter: Remove OxlintOptions (#6098) (DonIsaac)
- 002078a linter: Make Runtime's members private (#6440) (DonIsaac)
- 6a0a533 linter: Move module cache logic out of Runtime (#6438) (DonIsaac)
- c18c6e9 linter: Split service code into separate modules (#6437) (DonIsaac)
- 5ea9ef7 linter: Improve labels and help message for
eslint/no-useless-constructor
(#6389) (DonIsaac) - 2c32dac linter/no-control-regex: Remove duplicate code (#6527) (DonIsaac)
- 435a89c oxc: Remove useless
allocator.alloc(program)
calls (#6571) (Boshen) - f70e93b oxc: Ban index methods on std::str::Chars (#6075) (dalaoshu)
Testing
- a6cae98 linter: Make sure all auto-fixing rules have fixer test (#6378) (DonIsaac)
- 06b09b2 linter/no-unused-vars: Enable now-passing tests (#6556) (DonIsaac)
- badd11c linter/no-unused-vars: Ignored catch parameters (#6555) (DonIsaac)
- 84aa2a2 linter/no-useless-constructor: Add cases for initializers in subclass constructors (#6390) (DonIsaac)
oxlint v0.9.10
[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 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 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
andLintContext
(#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
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 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
oxlint v0.9.9
[0.9.9] - 2024-09-27
Bug Fixes
- bd8f786 linter: Rule and generic filters do not re-configure existing rules (#6087) (DonIsaac)
- c5cdb4c linter: Disable all rules in a plugin when that plugin gets turned off (#6086) (DonIsaac)
- 6c855af linter: Only write fix results if source code has changed (#6096) (DonIsaac)
- 8759528 linter: Category filters not re-configuring already-enabled rules (#6085) (DonIsaac)
- c2616f7 linter: Fix panic in fixer for
oxc/only-used-in-recursion
(#6070) (camc314) - 3da3845 linter: Malformed snippets in
eslint/for-direction
docs (#6060) (DonIsaac) - c047d42 linter:
no-useless-escape
: do not crash on backslash character (#6048) (camchenry) - 6f76ebe linter: Ignore invalid or partial disable directives (#6045) (camchenry)
- 09a24cd linter: Fix false positives for generics in
no-unexpected-multiline
(#6039) (camchenry) - d05fd20 linter: Newline in type parameters causing false positive in
no-unexpected-multiline
(#6031) (DonIsaac) - 01b9c4b npm/oxlint: Make bin/oxc_language_server an executable (#6066) (Boshen)
Performance
- f8464a3 linter:
no-magic-numbers
remove redudant checks inis_array_index
(#6033) (Alexander S.) - c16ae60 linter:
jest/prefer-hooks-in-order
: rewrite rule to allocate less and iterate fewer times (#6030) (camchenry)
Documentation
- d4bed9a linter: Improve docs for node/security/tree_shaking rules (#6097) (dalaoshu)
- a4fdf1b linter: Improve docs for promise rules (#6051) (dalaoshu)
- 21cdb78 linter: Fix incorrect "bad" example in
only-used-in-recursion
(#6029) (Boshen)
Refactor
Testing
oxlint v0.9.8
[0.9.8] - 2024-09-24
Bug Fixes
- e3c8a12 linter: Fix panic in sort-keys (#6017) (Boshen)
- 4771492 linter: Fix
import/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: Use
FxHashSet
instead ofstd::collections::HashSet
(#6001) (Cam McHenry) - 2b17003 linter, prettier, diagnostics: Use
FxHashMap
instead ofstd::collections::HashMap
(#5993) (camchenry)
oxlint v0.9.7
[0.9.7] - 2024-09-23
Features
- d24985e linter: Add
oxc-security/api-keys
(#5906) (DonIsaac) - f9b44c5 linter: Add unicode sets support to
no-useless-escape
rule (#5974) (camchenry) - 0f19848 linter: Implement
no-unexpected-multiline
rule (#5911) (camchenry) - 16fe383 linter: Implement
no-extend-native
rule (#5867) (Cam McHenry)
Bug Fixes
- eed9ac7 linter: Include actual span size in
no-regex-spaces
diagnostic (#5957) (camchenry) - 40c89c2 linter: Move
promise/avoid-new
to style category (#5961) (DonIsaac)
Performance
- 608d637 linter: Use
aho-corasick
instead ofregex
for string matching injsx-a11y/img-redundant-alt
(#5892) (camchenry) - 3148d4b linter: Check file path after checking node kind for
nextjs/no-head-element
(#5868) (Cam McHenry)
Refactor
- 0a5a4a9 linter: Use parsed patterns for
unicorn/no-hex-escape
(#5985) (camchenry) - 2cf2edd linter: Use parsed patterns in
no-empty-character-class
rule (#5980) (camchenry) - a9a8e2a linter: Use regex parser in
eslint/no-regex-spaces
(#5952) (camchenry) - 05f592b linter: Use parsed patterns in
unicorn/prefer-string-starts-ends-with
(#5949) (camchenry) - 3273b64 linter: Use parsed patterns for
unicorn/prefer-string-replace-all
rule (#5943) (camchenry) - ba7b01f linter: Add
LinterBuilder
(#5714) (DonIsaac) - db4f16a semantic: Call
with_trivias
beforebuild_with_jsdoc
(#5875) (Boshen) - 3d13c6d semantic: Impl
IntoIterator
for&AstNodes
(#5873) (DonIsaac)
Testing
oxlint v0.9.6
[0.9.6] - 2024-09-18
Features
- 3bf7b24 linter: Make
typescript/no-duplicate-enum-values
acorrectness
rule (#5810) (DonIsaac) - 7799c06 linter/react: Implement
no-danger-with-children
rule (#5420) (Cam McHenry)
Bug Fixes
- f942485 linter: Remove all* remaining "Disallow " messages (#5812) (DonIsaac)
- b5ad518 linter: Improve diagnostic messages for various lint rules (#5808) (DonIsaac)
- 858f7af linter: Plugin prefix name for eslint-plugin-node (#5807) (DonIsaac)
- 737ba1d linter: Fix some cases on
AssignmentExpression
forunicorn/consistent-function-scoping
(#5675) (Arian94) - 148c7a8 linter: Replace bitwise AND (&) with logical AND (&&) in explici… (#5780) (kaykdm)
- b4ed564 linter/no-unused-vars: Writes to members triggering false positive (#5744) (Dunqing)
- e9c084a linter/no-unused-vars: False positive when a variable used as a computed member property (#5722) (Dunqing)
Performance
- 3725d5d linter: Make all rules share a diagnostics vec (#5806) (DonIsaac)
- e978567 linter: Shrink size of
DisableDirectives
(#5798) (DonIsaac) - 1bfa515 linter: Remove redundant clone of diagnostics in context (#5797) (DonIsaac)
- e413cad linter: Move shared context info to
ContextHost
(#5795) (DonIsaac)
Refactor
- 6dd6f7c ast: Change
Comment
struct (#5783) (Boshen) - 7caae5b codegen: Add
GetSpan
requirement toGen
trait (#5772) (Boshen) - 026ee6a linter: Decouple module resolution from import plugin (#5829) (dalaoshu)
- 50834bc linter: Move
override_rule
toOxlintRules
(#5708) (DonIsaac) - a438743 linter: Move
OxlintConfig
toOxlintrc
(#5707) (DonIsaac) - f61e8b5 linter: Impl serde and schemars traits for
LintPlugins
(#5706) (DonIsaac) - 20a7861 linter: Shorten
Option
syntax (#5735) (overlookmotel) - d8b612c oxc_linter: Prefer pass Enum instead of str
no_plus_plus
(#5730) (IWANABETHATGUY) - cc0408b semantic: S/AstNodeId/NodeId (#5740) (Boshen)
oxlint v0.9.5
[0.9.5] - 2024-09-12
Features
- 4b04f65 linter: Implement
no-plusplus
rule (#5570) (Cam McHenry) - 9ca2593 linter: Eslint/sort-keys (#4845) (Na'aman Hirschfeld)
- 023c160 linter: Impl
Serialize
forOxlintConfig
(#5594) (DonIsaac) - 24d6a47 linter: Implement
eslint/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: Use
cow_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: 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
forno_duplicate_case
; removecalculate_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
oxlint v0.9.3
[0.9.3] - 2024-09-07
Features
- be3a432 linter: Implement typescript/no-magic-numbers (#4745) (Alexander S.)
- 09aa86d linter/eslint: Implement
sort-vars
rule (#5430) (Jelle van der Waa) - 2ec2f7d linter/eslint: Implement no-alert (#5535) (Edwin Lim)
- a786acf linter/import: Add no-dynamic-require rule (#5389) (Jelle van der Waa)
- 4473779 linter/node: Implement no-exports-assign (#5370) (dalaoshu)
- b846432 linter/oxc: Add fixer for
erasing-op
(#5377) (camc314) - aff2c71 linter/react: Implement
self-closing-comp
(#5415) (Jelle van der Waa)
Bug Fixes
- cdd1a91 linter: Typescript/no-magic-numbers: remove double minus for reporting negative bigint numbers (#5565) (Alexander S.)
- ff88c1f linter: Don't mark binding rest elements as unused in TS function overloads (#5470) (Cam McHenry)
- 088733b linter: Handle loops in
getter-return
rule (#5517) (Cam McHenry) - 82c0a16 linter:
tree_shaking/no_side_effects_in_initialization
handle JSX correctly (#5450) (overlookmotel) - 6285a02 linter:
eslint/radix
rule correctly check for unbound symbols (#5446) (overlookmotel) - c8ab353 linter/tree-shaking: Align JSXMemberExpression's report (#5548) (mysteryven)
- 5187f38 linter/tree-shaking: Detect the correct export symbol resolution (#5467) (mysteryven)
Performance
Documentation
- a540215 linter: Update docs
Examples
for linter rules (#5513) (dalaoshu) - 7414190 linter: Update docs
Example
for linter rules (#5479) (heygsc)
Refactor
- 0ac420d linter: Use meaningful names for diagnostic parameters (#5564) (Don Isaac)
- 81a394d linter: Deduplicate code in
oxc/no-async-await
(#5549) (DonIsaac) - 979c16c linter: Reduce nested if statements in eslint/no_this_before_super (#5485) (IWANABETHATGUY)
- 1d3e973 linter: Simplify
eslint/radix
rule (#5445) (overlookmotel) - fdb8857 linter: Use "parsed pattern" in
no_div_regex
rule. (#5417) (rzvxa) - 2ccbd93 linter:
react/jsx_no_undef
ruleget_member_ident
do not return Option (#5411) (overlookmotel)
Styling
- 2a43fa4 linter: Introduce the writing style from PR #5491 and reduce the if nesting (#5512) (dalaoshu)- d8b29e7 Add trailing line breaks to JSON files (#5544) (overlookmotel)- 694f032 Add trailing line breaks to
package.json
files (#5542) (overlookmotel)
Testing
oxlint v0.9.2
[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)