-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Honoré Nintunze
committed
Dec 12, 2020
1 parent
b9c0522
commit e8a6c3b
Showing
4 changed files
with
3,910 additions
and
6,947 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,13 @@ | ||
const types = require('commitlint-config-cz/lib/types')() | ||
|
||
module.exports = { | ||
types: types.map((type) => { | ||
const base = { type, hidden: false } | ||
if (type === 'feat') return { ...base, section: 'Features' } | ||
if (type === 'fix') return { ...base, section: 'Bug Fixes' } | ||
if (type === 'docs') return { ...base, section: 'Docs' } | ||
if (type === 'chore' || type === 'test') return { ...base, section: 'Others' } | ||
if (type === 'improvement') return { ...base, section: 'Improvements' } | ||
return { ...base, hidden: true } | ||
}), | ||
} |
Oops, something went wrong.