feat: add linters (#11)

Reviewed-on: #11
Co-authored-by: Jan Klattenhoff <jan@kjan.email>
Co-committed-by: Jan Klattenhoff <jan@kjan.email>
This commit is contained in:
Jan K9f 2025-04-09 17:40:45 +00:00 committed by Jan K9f
parent 1b86948c60
commit e332ef87cb
Signed by:
GPG key ID: 944223E4D46B7412
3 changed files with 15 additions and 1 deletions

View file

@ -1,3 +1,4 @@
// Package validation General validation tasks
package validation
import (
@ -6,6 +7,7 @@ import (
"strings"
)
// ValidateConventionalCommit validates if string follows conventional commit
func ValidateConventionalCommit(commit string) error {
// Regex to match the commit format
// type(scope)!: description