Skip to content

Commit b1d0d27

Browse files
committed
ci: enforce known commit scopes
This ensures that we have a predictable changelog with known headings.
1 parent 14a5a8c commit b1d0d27

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

commitlint.config.js

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,20 @@
1-
module.exports = {extends: ['@commitlint/config-conventional']};
1+
module.exports = {
2+
extends: ["@commitlint/config-conventional"],
3+
rules: {
4+
"scope-enum": [
5+
2,
6+
"always",
7+
[
8+
"light-model-client",
9+
"light-model-server",
10+
"metamodel-export-mps",
11+
"metamodel-generator",
12+
"metamodel-gradle",
13+
"model-api",
14+
"model-client",
15+
"model-server",
16+
"ts-model-api",
17+
],
18+
],
19+
},
20+
};

0 commit comments

Comments
 (0)