Skip to content

fix: resolve no-constant-condition lint error in listTestsApi#84

Merged
kraenhansen merged 1 commit into
mainfrom
kh/fix-lint-error
May 6, 2026
Merged

fix: resolve no-constant-condition lint error in listTestsApi#84
kraenhansen merged 1 commit into
mainfrom
kh/fix-lint-error

Conversation

@kraenhansen
Copy link
Copy Markdown
Member

Summary

  • Change do { } while (true) to while (true) in listTestsApi
  • ESLint v9's no-constant-condition rule defaults to checkLoops: "allExceptWhileTrue", which allows while (true) but flags do { } while (true)
  • Matches the existing listAgentsApi pattern

Test plan

  • pnpm run lint passes (0 errors)
  • All 20 test-api.test.ts tests pass

🤖 Generated with Claude Code

Change do/while(true) to while(true) which ESLint v9 explicitly allows.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@kraenhansen kraenhansen merged commit ce09535 into main May 6, 2026
4 checks passed
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