-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommitlint.config.mjs
More file actions
31 lines (31 loc) · 984 Bytes
/
Copy pathcommitlint.config.mjs
File metadata and controls
31 lines (31 loc) · 984 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
// Conventional Commits enforcement for this repo.
// Every commit + PR title must be `type(scope): summary`, where type is one of the
// allowed types below. A breaking change appends `!` (feat!: …) and/or a
// `BREAKING CHANGE:` body footer. The type drives the SemVer bump for the release
// (fix -> patch, feat -> minor, ! / BREAKING CHANGE -> major).
// Enforced in CI by .github/workflows/commitlint.yml (wagoid/commitlint-github-action).
export default {
extends: ["@commitlint/config-conventional"],
rules: {
"type-enum": [
2,
"always",
[
"feat",
"fix",
"docs",
"style",
"refactor",
"perf",
"test",
"build",
"ci",
"chore",
"revert",
],
],
"subject-case": [0], // allow any subject casing (proper nouns, scheme literals like chia://)
"body-max-line-length": [0], // long bodies (URLs, logs) are fine
"footer-max-line-length": [0],
},
};