Skip to content

fix(lint): disable require-await for test async-generator fixtures#11

Merged
NagaYu merged 1 commit into
mainfrom
fix/lint-test-require-await
Jun 29, 2026
Merged

fix(lint): disable require-await for test async-generator fixtures#11
NagaYu merged 1 commit into
mainfrom
fix/lint-test-require-await

Conversation

@NagaYu

@NagaYu NagaYu commented Jun 29, 2026

Copy link
Copy Markdown
Owner

Fixes the red CI on main introduced by #10.

The streaming tests use async-generator fixtures that yield without awaiting, which @typescript-eslint/require-await rejects. Disable that rule for test/** only (consistent with the existing test-scoped relaxations).

Verified locally with explicit exit codes: typecheck / lint / format:check / test (39) / build / CLI all exit 0.

The streaming tests use async-generator helpers that yield without
awaiting (valid for fixtures). ESLint's require-await flagged them and
broke CI on the merged streaming PR. Turn the rule off for test/** only.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@NagaYu NagaYu merged commit 5f34a06 into main Jun 29, 2026
3 checks passed
@NagaYu NagaYu deleted the fix/lint-test-require-await branch June 29, 2026 04:14
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.

1 participant