Created
October 26, 2022 16:03
-
-
Save anatooly/264da67c8368a2de09834e60fe6dcd32 to your computer and use it in GitHub Desktop.
validate-branch-name
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
"postinstall": "husky install", | |
"validate-branch-name": { | |
"pattern": "^(feature|release|hotfix)/(KB-[0-9]+)-([a-zA-Z]+)", | |
"errorMsg": "Invalid branch name, please use name rule like this: feature/KB-123-implementNewLogic" | |
} | |
husky | |
husky-check-email | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment