Description:
Improve code quality by adding a pre-commit hook (e.g., using husky for the frontend and pre-commit for Go) that automatically formats code and runs linters before a commit is allowed.
Acceptance Criteria:
- For the frontend, prettier and eslint run on staged files.
- For the backend, go fmt and go vet run on staged files.
- Commits that fail linting or formatting are blocked.
Description:
Improve code quality by adding a pre-commit hook (e.g., using husky for the frontend and pre-commit for Go) that automatically formats code and runs linters before a commit is allowed.
Acceptance Criteria: