From 8042516b18c968575e62ecee341fb5565823c8e3 Mon Sep 17 00:00:00 2001 From: NagaYu Date: Mon, 29 Jun 2026 13:13:19 +0900 Subject: [PATCH] fix(lint): disable require-await for test async-generator fixtures 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 --- eslint.config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eslint.config.js b/eslint.config.js index 215f53f..a2de8e5 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -46,6 +46,8 @@ export default tseslint.config( rules: { '@typescript-eslint/no-unsafe-assignment': 'off', '@typescript-eslint/no-unsafe-member-access': 'off', + // Async-generator fixtures legitimately yield without awaiting; allow it in tests only. + '@typescript-eslint/require-await': 'off', }, }, // Must come last to disable stylistic rules that would fight Prettier.