-
Notifications
You must be signed in to change notification settings - Fork 0
/
commitlint.config.js
42 lines (42 loc) · 1.09 KB
/
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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/* eslint-disable functional/immutable-data */
/* eslint-disable no-magic-numbers */
module.exports = {
plugins: ['commitlint-plugin-jira-rules'],
extends: ['jira'],
rules: {
'jira-task-id-separator': [0],
'jira-task-id-case': [0],
'jira-task-id-min-length': [0],
'jira-commit-status-case': [0],
'header-max-length': [0],
'jira-task-id-max-length': [0],
'scope-case': [
2,
'always',
[
'lower-case', // default
'upper-case', // UPPERCASE
'camel-case', // camelCase
'kebab-case', // kebab-case
'pascal-case', // PascalCase
'sentence-case', // Sentence case
'snake-case', // snake_case
'start-case', // Start Case
],
],
'subject-case': [
2,
'always',
[
'lower-case', // default
'upper-case', // UPPERCASE
'camel-case', // camelCase
'kebab-case', // kebab-case
'pascal-case', // PascalCase
'sentence-case', // Sentence case
'snake-case', // snake_case
'start-case', // Start Case
],
],
},
};