-
Notifications
You must be signed in to change notification settings - Fork 402
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(git): add commit validation types (#351)
* docs(git): adding docs type to commit validation * wip(git): explicit rules list * refactor(git): remove unused file * refactor(git): format config file
- Loading branch information
Showing
2 changed files
with
23 additions
and
9 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,6 +1,26 @@ | ||
module.exports = { | ||
extends: [ | ||
'./commitlint.types.js', | ||
'@commitlint/config-conventional', // scoped packages are not prefixed | ||
'@commitlint/config-conventional' // scoped packages are not prefixed | ||
], | ||
} | ||
rules: { | ||
'type-enum': [ | ||
2, | ||
'always', | ||
[ | ||
'build', | ||
'chore', | ||
'ci', | ||
'docs', | ||
'feat', | ||
'fix', | ||
'perf', | ||
'proposal', | ||
'refactor', | ||
'revert', | ||
'style', | ||
'test', | ||
'wip' | ||
] | ||
] | ||
} | ||
}; |
This file was deleted.
Oops, something went wrong.