-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcommitlint.config.js
More file actions
executable file
·46 lines (46 loc) · 1007 Bytes
/
Copy pathcommitlint.config.js
File metadata and controls
executable file
·46 lines (46 loc) · 1007 Bytes
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
42
43
44
45
46
/**
* Conventional Commits for KodLyft FSM.
* Enforced on every commit via the husky `commit-msg` hook and in CI.
* https://www.conventionalcommits.org
*/
export default {
extends: ["@commitlint/config-conventional"],
rules: {
"type-enum": [
2,
"always",
[
"feat", // a new feature
"fix", // a bug fix
"docs", // documentation only
"style", // formatting, no code change
"refactor", // neither fixes a bug nor adds a feature
"perf", // performance improvement
"test", // adding or fixing tests
"build", // build system or dependencies
"ci", // CI configuration
"chore", // other changes that don't modify src or test
"revert", // reverts a previous commit
],
],
"scope-enum": [
1,
"always",
[
"design",
"ui",
"api",
"console",
"portal",
"mobile",
"backend",
"deps",
"release",
"repo",
],
],
"subject-case": [0],
"body-max-line-length": [0],
"footer-max-line-length": [0],
},
};