-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommitlint.config.js
More file actions
32 lines (23 loc) · 1.13 KB
/
commitlint.config.js
File metadata and controls
32 lines (23 loc) · 1.13 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
/*
Commit message structure (conventional-commits):
<type>[optional scope]: <description>
[optional body]
[optional footer]
Commit types:
API or UI relevant changes
- feat: adds or removes a new feature to the API or UI
- fix: fixes a API or UI bug of a preceded feat commit
Code restructuring
- refactor: rewrites/restructures your code, however do not change any API or UI behaviour
- perf: special refactor commits, that improve performance
style: do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
test: add missing tests or correcting existing tests
docs: affects documentation only
build: affects build components like build tool, ci pipeline, dependencies, project version, etc
ci: affects continuous integration (CI) configuration or scripts
chore: other changes that don't modify src or test files
revert: reverts a previous commit
For more details, check the conventional commits full specification
- https://www.conventionalcommits.org/en/v1.0.0/
*/
export default { extends: ["@commitlint/config-conventional"] };