[CI] Add linting for backend TypeScript
Overview & Background
The backend has no lint script and no ESLint/Biome/Oxlint config anywhere under backend/, and the Backend CI job runs install → build → codegen drift → vitest with no lint step. Root lint-staged covers only frontend/** and contracts/**/*.rs. The entire backend codebase (~90 TS source files) is never linted — not in CI, not in pre-commit, not locally — so dead imports, unsafe patterns, and style/logic lints are invisible in review for the service that custodies payment-stream state.
Technical Specification & Architecture
- Add an ESLint flat config +
lintscript tobackend/. - Run it as a step in the Backend CI job (
.github/workflows/ci.yml:106-159). - Extend root
lint-stagedtobackend/**/*.ts.
Target Files
backend/package.jsonbackend/eslint.config.js(new).github/workflows/ci.ymlpackage.json
Acceptance Criteria
- [ ]
npm run lintinbackend/runs and reports findings. - [ ] CI fails on lint errors.
- [ ] Pre-commit hooks lint staged backend files.
@Peolite1 has applied to work on this issue as part of the Stellar Wave Program's 11th wave.
i would love to work on this issue
ℹ️ Repo Maintainers: To accept this application, review their application or assign @Peolite1 to this issue.
@bolabeatz has applied to work on this issue as part of the Stellar Wave Program's 11th wave.
easy issue for me
ℹ️ Repo Maintainers: To accept this application, review their application or assign @bolabeatz to this issue.
Congratulations, @bolabeatz! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on November 25, 2026.
🧑💻 @bolabeatz: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.
[!WARNING] When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.
🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.
🌊 Happy Wave 🌊
This issue has been completed by @bolabeatz as part of the Stellar Wave Program's 11th Wave 🥳
😎 @bolabeatz: You earned 200 Points for completing this issue! Once the Wave's rewards are finalized, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.
🧑💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.