flowfi icon indicating copy to clipboard operation
flowfi copied to clipboard

[Audit] Backend has no lint script or ESLint configuration at all

Open K1NGD4VID opened this issue 3 months ago • 17 comments

Filed from the second-wave repository audit (issue 76/100). See the audit summary for full category context.

  • Location: backend/package.json:7-18
  • Problem: Scripts include test, build, etc., but no lint; there is no eslint.config.* file and no eslint devDependency anywhere in backend/ (contrast frontend/package.json:24, 31, which has both). Backend TypeScript is never statically linted, in CI or locally, and the root lint-staged config (package.json:19-23) only globs frontend/**, so pre-commit hooks provide zero static-analysis gate for backend changes.
  • Evidence: No ESLint config/dependency found under backend/; root lint-staged config scoped to frontend/** only.
  • Suggested implementation: Add an ESLint config to backend/ (matching or adapting the frontend's ruleset for a Node/Express codebase), a lint script, and extend the root lint-staged glob to include backend/**.
  • Acceptance criteria: npm run lint --workspace=backend exists and passes/fails meaningfully; a backend file with a lint violation is caught by pre-commit hooks.
  • Difficulty: M
  • Expected impact: Closes a real static-analysis gap on half the codebase — the half that handles fund movement.

K1NGD4VID avatar Aug 29 '26 18:08 K1NGD4VID

@shogun444 has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

Hi, This issue is something i can resolve, I'd love to work on it Kindly Assign me, Thank you.

Portfolio : https://portfolio-amber-one-v8ggyhsjyr.vercel.app/

ℹ️ Repo Maintainers: To accept this application, review their application or assign @shogun444 to this issue.

shogun444 avatar Aug 29 '26 19:08 shogun444

@orochimaru144 has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

Please assign.

ℹ️ Repo Maintainers: To accept this application, review their application or assign @orochimaru144 to this issue.

orochimaru144 avatar Aug 29 '26 19:08 orochimaru144

@Niffy03 has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

Can i work on this ?

ℹ️ Repo Maintainers: To accept this application, review their application or assign @Niffy03 to this issue.

Niffy03 avatar Aug 29 '26 19:08 Niffy03

@Martinsbab has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

Hi maintainer, I would like to work on this issue

ℹ️ Repo Maintainers: To accept this application, review their application or assign @Martinsbab to this issue.

Martinsbab avatar Aug 29 '26 19:08 Martinsbab

@MFrancis-dev has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

i will like to work on this

ℹ️ Repo Maintainers: To accept this application, review their application or assign @MFrancis-dev to this issue.

MFrancis-dev avatar Aug 29 '26 19:08 MFrancis-dev

@Chidi-Dev1 has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

The issue description is crystal clear, and I’d be glad to work on it. I’ll ensure the implementation is clean, tested, and submit a clean PR. Kindly assign it to me. 🙏

ℹ️ Repo Maintainers: To accept this application, review their application or assign @Chidi-Dev1 to this issue.

Chidi-Dev1 avatar Aug 29 '26 19:08 Chidi-Dev1

@muhsar27 has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

please assign

ℹ️ Repo Maintainers: To accept this application, review their application or assign @muhsar27 to this issue.

muhsar27 avatar Aug 29 '26 19:08 muhsar27

@CollinsKRO has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

Hi, I can fix this

ℹ️ Repo Maintainers: To accept this application, review their application or assign @CollinsKRO to this issue.

CollinsKRO avatar Aug 29 '26 19:08 CollinsKRO

@Muyideen-js has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

Hi, I can fix this

ℹ️ Repo Maintainers: To accept this application, review their application or assign @Muyideen-js to this issue.

Muyideen-js avatar Aug 29 '26 19:08 Muyideen-js

@Ajibose has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

kindly aSSIGN

ℹ️ Repo Maintainers: To accept this application, review their application or assign @Ajibose to this issue.

Ajibose avatar Aug 29 '26 19:08 Ajibose

@svllvsx has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

Hi, I'd like to work on #1278. I reviewed backend/package.json, the frontend ESLint setup, and the root lint-staged configuration. The backend currently has no lint dependency, flat config, script, or pre-commit coverage. I would add a Node/Express TypeScript ESLint configuration suited to the existing module style, add the workspace lint script and dependencies, extend lint-staged to backend TypeScript, update the lockfile, and verify both a clean run and that a deliberate violation is rejected. I can complete this within the remaining Wave window after assignment.

ℹ️ Repo Maintainers: To accept this application, review their application or assign @svllvsx to this issue.

svllvsx avatar Aug 29 '26 19:08 svllvsx

@Blessed-Femi has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

let me work on this

ℹ️ Repo Maintainers: To accept this application, review their application or assign @Blessed-Femi to this issue.

Blessed-Femi avatar Aug 29 '26 19:08 Blessed-Femi

@ayomustap has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

​Hi maintainer, I would love to work on this issue. I can get started on it right away.

ℹ️ Repo Maintainers: To accept this application, review their application or assign @ayomustap to this issue.

ayomustap avatar Aug 29 '26 19:08 ayomustap

@baedboibidex-cmyk has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

pls assign

ℹ️ Repo Maintainers: To accept this application, review their application or assign @baedboibidex-cmyk to this issue.

Bidex-cmyk avatar Aug 29 '26 19:08 Bidex-cmyk

Congratulations, @Blessed-Femi! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on August 31, 2026.

🧑‍💻 @Blessed-Femi: 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 🌊

drips-wave[bot] avatar Aug 29 '26 19:08 drips-wave[bot]

This issue has been marked as completed by a Drips Wave moderator for @Blessed-Femi as part of the Stellar Wave Program's 8th Wave 🥳

Moderator's reason: [Auto-assessed] The PR from the assigned contributor successfully addresses all acceptance criteria for issue #1278 by adding an ESLint flat configuration for the backend, introducing the lint script, extending root lint-staged config, and incorporating the lint step into CI, all verified as clean and passing with 100% diff coverage.

😎 @Blessed-Femi: You earned 200 Points for completing this issue! After the current Wave ends, 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.

🧑‍💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.

ℹ️ Note: This issue was marked complete via moderation. Points were issued even though the GitHub issue remains open.

drips-wave[bot] avatar Sep 03 '26 09:09 drips-wave[bot]

This issue has been removed from the Stellar Wave Program by the repository maintainers.

@Blessed-Femi, you have been unassigned from this issue. If you have any questions, please reach out to the repo maintainers.

drips-wave[bot] avatar Oct 15 '26 09:10 drips-wave[bot]