-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cli): add support for --edit and pre-commit (#174)
* task: add support for --edit and pre-commit * fix: typo in 'expect' clause for --edit Co-authored-by: KeisukeYamashita <19yamashita15@gmail.com> --------- Co-authored-by: KeisukeYamashita <19yamashita15@gmail.com>
- Loading branch information
1 parent
1caadf1
commit cfa41fc
Showing
2 changed files
with
20 additions
and
0 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,9 @@ | ||
- id: commitlint | ||
name: Assert Conventional Commit Messages | ||
description: 'Asserts that Conventional Commits have been used for all commit messages according to the rules for this repo.' | ||
entry: commitlint --edit | ||
language: rust | ||
stages: [prepare-commit-msg] | ||
pass_filenames: false | ||
require_serial: true | ||
verbose: true |
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