Skip to content

Commit

Permalink
build: disallow chore type commits
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Ginsburg committed Mar 4, 2022
1 parent 87c59fe commit d2ad8c6
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -1,12 +1 @@
const angularConfig = require('@commitlint/config-angular')
module.exports = {
rules: {
...angularConfig.rules,
'type-enum': [
2,
'always',
// Also allow the "chore" commit type.
['chore'].concat(angularConfig.rules['type-enum'][2])
]
}
}
module.exports = { extends: ['@commitlint/config-angular'] }

0 comments on commit d2ad8c6

Please sign in to comment.