-
-
Notifications
You must be signed in to change notification settings - Fork 597
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add commit validation and commits template
In order to have a similar structure in the commit messages of the contributions, adding a commit validation hook, that a subset of the structure of angular.js validation messages.
- Loading branch information
1 parent
17fa093
commit d0cbfc0
Showing
4 changed files
with
93 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"validators": { | ||
"lineLength": { | ||
"enabled": true, | ||
"maxLineLength": 100, | ||
"subjectMaxLength": 100 | ||
}, | ||
"emptyLines": { | ||
"enabled": false | ||
}, | ||
"tags": { | ||
"enabled": true, | ||
"tags": "feat, fix, docs, style, refactor, perf, test, chore, revert", | ||
"lineOfTheTag": 1 | ||
}, | ||
"subjectTense": { | ||
"enabled": true | ||
}, | ||
"wip": { | ||
"enabled": true, | ||
"branch": "master" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters