Skip to content

Commit

Permalink
feat(git): add commit validation types (#351)
Browse files Browse the repository at this point in the history
* 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
apapko authored and byao committed May 29, 2018
1 parent f4671f0 commit 5c974c9
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 9 deletions.
26 changes: 23 additions & 3 deletions commitlint.config.js
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'
]
]
}
};
6 changes: 0 additions & 6 deletions commitlint.types.js

This file was deleted.

0 comments on commit 5c974c9

Please sign in to comment.