-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(commitlint): migrate from Angular to Conventional Commits (#75)
- Loading branch information
1 parent
e9719fd
commit 3a3cc78
Showing
3 changed files
with
26 additions
and
16 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 |
---|---|---|
@@ -1,3 +1,10 @@ | ||
module.exports = { | ||
extends: ['@commitlint/config-angular'], | ||
extends: ['@commitlint/config-conventional'], | ||
rules: { | ||
// Sets the maximum length for commit messages. It accounts for a 3-digit PR | ||
// number (e.g., #123), and formatting (space and parentheses) in squash | ||
// merges. Calculation: 72 (GitHub's limit) - 7 (3 digits for PR number + | ||
// space + parentheses + hash symbol) = 65. | ||
'header-max-length': [2, 'always', 65], | ||
}, | ||
}; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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