-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathcommitlint.config.js
More file actions
41 lines (41 loc) · 1.01 KB
/
commitlint.config.js
File metadata and controls
41 lines (41 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
module.exports = {
extends: ["@commitlint/config-conventional"],
rules: {
"scope-enum": [
2,
"always",
[
"authorization",
"bulk-model-sync",
"bulk-model-sync-gradle",
"datastructures",
"deps",
"git-import",
"metamodel-export",
"model-api-gen",
"model-api-gen-gradle",
"model-api",
"model-client",
"model-datastructure",
"model-server",
"model-server-openapi",
"modelql",
"mps-model-adapters",
"mps-model-server",
"mps-sync-plugin",
"mps-multiplatform-lib",
"openapi",
"streams",
"ts-model-api",
"vue-model-api",
],
],
"subject-case": [0, 'never'],
// No need to restrict the body and footer line length. That only gives issues with URLs etc.
"body-max-line-length": [0, 'always'],
"footer-max-line-length": [0, 'always']
},
ignores: [
(message) => message.includes('skip-lint')
],
};