Skip to content

Conversation

@sugan0tech
Copy link
Member

Implements pre-commit with branch/commit rules, Go fmt/vet, and golangci-lint.

  • Enforces branch pattern: <type>/<issue>-<short-desc> with minimal types: feat, feature, fix, add, chore, docs, refac, wip, hotfix, security.
  • Adds Commitizen (Conventional Commits subset) on commit-msg with custom schema.
  • Adds go fmt/vet hooks and golangci-lint; detect-secrets and hygiene hooks.

Docs

  • Adds CONTRIBUTING.md with local setup, branch/commit rules, workflow, and links to good first issues.
  • README links to the contributor guide.

Closes #29
Supersedes #$OLD_PR

@sugan0tech
Copy link
Member Author

@apachex692 your review please.

@sugan0tech sugan0tech requested a review from ssanumand August 18, 2025 15:50
Copy link
Member

@ssanumand ssanumand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Detailed documentation done and is appreciated. I've tested the same in my local environment and it seems to work fine. I'm approving. Thank you for the work.

@sugan0tech
Copy link
Member Author

Daymm, you tested in local.Much appreciated testing!!

@sugan0tech sugan0tech merged commit ce56bbe into main Aug 18, 2025
2 checks passed
@sugan0tech sugan0tech deleted the feat/29-precommit-setup branch August 18, 2025 16:25
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.

Chore: Add pre-commit hooks, branch/commit rules, and Go fmt/lint

3 participants