-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.commitlintrc.js
34 lines (33 loc) · 1001 Bytes
/
.commitlintrc.js
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
/**
* @type {import('@commitlint/types').UserConfig}
*/
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
'scope-enum': [
2,
'always',
[
'attributes', // guarding and casting can also go under attributes
'global-config',
'exception',
'events',
'services',
'helpers',
'collection',
'model',
'model-collection',
'ancestry-collection',
'paginator',
'factory',
'query-builder',
'timestamps', // soft-deletes can also go under timestamps
'relations',
'api-calls',
'deps',
'deps-dev',
'internal' // things that are not meant to be used outside the package
]
],
}
};