forked from tiagocavaco/google-maps-draw-shape-lib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
commitlint.config.js
22 lines (22 loc) · 1005 Bytes
/
commitlint.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
'type-enum': [
2,
'always',
[
'build', // Changes that affect the build system or external dependencies (example scopes: webpack, npm)
'chore', // Changes that aren't user-facing
'ci', // Changes that affect CI configuration files and scripts (example scopes: azuredevops.yaml, workflows.yml)
'docs', // Changes that affect the documentation
'feat', // Changes that introduce a new feature
'fix', // Changes that patch a bug
'perf', // Changes which improve performance
'refactor', // Changes which neither fix a bug nor add a feature
'revert', // Changes that revert a previous commit
'style', // Changes that don't affect code logic, such as white-spaces, formatting, missing semi-colons
'test' // Changes that add missing tests or correct existing tests
],
]
}
};