-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommitlint.config.js
More file actions
25 lines (25 loc) · 909 Bytes
/
commitlint.config.js
File metadata and controls
25 lines (25 loc) · 909 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
module.exports = {
extends: ["@commitlint/config-conventional"],
rules: {
"scope-enum": [2, "never"],
"scope-case": [2, "always", "kebab-case"],
"type-enum": [
2,
"always",
[
"fix", // bug fix, bumps PATCH
"feat", // new feature, bumps MINOR
"test", // adding/refactoring tests only
"refactor", // code changes, without new fixes or features
"style", // formatting changes, i.e. semicolons
"docs", // updates to docs/comments
"ci", // updates to ci/workflow config
"build", // updates to build config
"revert", // revert changes to unblock failing ci/tests
"wip", // work-in-progress code commits as part of bigger features
"dev", // general changes to developer-environment/internal tooling
"chore", // bumping dependencies and other general maintenance
],
],
},
};