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:
		
					parent
					
						
							
								1b86948c60
							
						
					
				
			
			
				commit
				
					
						e332ef87cb
					
				
			
		
					 3 changed files with 15 additions and 1 deletions
				
			
		|  | @ -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 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue