Skip to content

chore: enforce UPPER_SNAKE_CASE constant naming convention#338

Merged
RUKAYAT-CODER merged 1 commit into
rinafcode:mainfrom
mijinummi:chore/constant-naming
Apr 24, 2026
Merged

chore: enforce UPPER_SNAKE_CASE constant naming convention#338
RUKAYAT-CODER merged 1 commit into
rinafcode:mainfrom
mijinummi:chore/constant-naming

Conversation

@mijinummi
Copy link
Copy Markdown
Contributor

Pull Request: Constant Naming Convention

Overview

This PR implements issue #329 Constant Naming Convention.
It enforces consistent UPPER_SNAKE_CASE naming for all constants across the backend codebase.


Changes Introduced

  • Audited all constants in src/**/*.ts.
  • Renamed constants to UPPER_SNAKE_CASE.
  • Updated references throughout the codebase.
  • Added ESLint rule to enforce naming convention.

Acceptance Criteria ✅

  • Constants properly named
  • Code compiles and tests pass
  • Linting enforces convention

Contribution Notes

  • Close Constant Naming Convention #329
  • Assignment required before PR submission
  • Timeframe: 48–72 hours
  • PR description must include: Close #issue no
  • ⭐ Star the repo
  • Refer to backend README 🚀

Checklist Before Merge

  • Code reviewed
  • Tests passed locally
  • Linting verified

Closes #329

@RUKAYAT-CODER RUKAYAT-CODER merged commit 63d7902 into rinafcode:main Apr 24, 2026
3 of 8 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.

Constant Naming Convention

2 participants