Skip to content

chore: guard for-in loops - #2232

Merged
kuhe merged 1 commit into
mainfrom
kuhe/chore/loopy
Aug 17, 2026
Merged

chore: guard for-in loops#2232
kuhe merged 1 commit into
mainfrom
kuhe/chore/loopy

Conversation

@kuhe

@kuhe kuhe commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

iterate keys with hasOwn guard, add oxlint rule

  • hasOwn is the standard safe and performant way to iterate object keys

@kuhe
kuhe requested a review from a team as a code owner August 14, 2026 15:42
@kuhe
kuhe marked this pull request as draft August 14, 2026 15:45
@kuhe
kuhe force-pushed the kuhe/chore/loopy branch from fb35421 to 42f3a6d Compare August 14, 2026 16:40
@kuhe kuhe changed the title chore: switch for-in to for-of-keys chore: guard for-in loops Aug 14, 2026
@kuhe
kuhe force-pushed the kuhe/chore/loopy branch from 42f3a6d to d00ec3f Compare August 14, 2026 17:26
@kuhe
kuhe marked this pull request as ready for review August 14, 2026 17:46
@kuhe
kuhe force-pushed the kuhe/chore/loopy branch 2 times, most recently from dd451f3 to 2bac199 Compare August 14, 2026 18:04
@kuhe
kuhe force-pushed the kuhe/chore/loopy branch from 2bac199 to 604d7cc Compare August 14, 2026 18:46
@kuhe
kuhe force-pushed the kuhe/chore/loopy branch from 604d7cc to c0bb097 Compare August 14, 2026 19:14
@kuhe
kuhe merged commit a825452 into main Aug 17, 2026
19 checks passed
@kuhe
kuhe deleted the kuhe/chore/loopy branch August 17, 2026 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants