Skip to content

Commit 1934be7

Browse files
Merge pull request #659 from Financial-Times/apaleslimghost-patch-2
backstage: disallow chore commits, introduce backstage commits
2 parents a996e92 + 254982b commit 1934be7

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

commitlint.config.js

+10-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1-
module.exports = { extends: ['@commitlint/config-conventional'] }
1+
module.exports = {
2+
extends: ['@commitlint/config-conventional'],
3+
rules: {
4+
'type-enum': [
5+
2,
6+
'always',
7+
['backstage', 'build', 'ci', 'docs', 'feat', 'fix', 'perf', 'refactor', 'revert', 'style', 'test']
8+
]
9+
}
10+
}

0 commit comments

Comments
 (0)