Skip to content

chore: extend lint to test files and fix the surfaced diagnostics#31

Merged
nkavian merged 1 commit into
inflowpayai:mainfrom
nkavian:chore/lint-tests
Jul 3, 2026
Merged

chore: extend lint to test files and fix the surfaced diagnostics#31
nkavian merged 1 commit into
inflowpayai:mainfrom
nkavian:chore/lint-tests

Conversation

@nkavian

@nkavian nkavian commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Both packages linted src only; widen to eslint src test so tests are held to the same rules as source. Fix the pre-existing test diagnostics this surfaces: remove redundant async on await-free functions, wrap non-Error promise rejections (documented casts where a non-Error path is under test), bind methods passed by reference, drop unnecessary type assertions and conditions, hoist inline import() type annotations, and remove unused bindings.

Both packages linted `src` only; widen to `eslint src test` so tests are held to
the same rules as source. Fix the pre-existing test diagnostics this surfaces:
remove redundant `async` on await-free functions, wrap non-Error promise
rejections (documented casts where a non-Error path is under test), bind methods
passed by reference, drop unnecessary type assertions and conditions, hoist inline
`import()` type annotations, and remove unused bindings.
@nkavian nkavian merged commit 179bd4d into inflowpayai:main Jul 3, 2026
2 checks passed
@nkavian nkavian deleted the chore/lint-tests branch July 3, 2026 04:45
@codecov

codecov Bot commented Jul 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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