Skip to content

Add a Pre-commit Hook for Code Formatting #20

Description

@oseghalep

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions