-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.commitlintrc.js
36 lines (35 loc) · 1012 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
35
36
module.exports = {
extends: ['./packages/commitlint-config'],
rules: {
'scope-enum': [
1,
'always',
[
// Use when commiting changes/additions/removals to exact package
'browserslist',
'commitlint',
'conventional-changelog',
'markdownlint',
'prettier',
'renovate',
'stylelint',
'textlint',
'eslint-config-base',
'eslint-config-lmc',
'eslint-config-graphql',
'eslint-config-react',
'eslint-config-jest',
'eslint-config-typescript',
// Use when commiting changes/additions/removals to packages in context
'eslint',
'rule',
// Use when affecting CI process
'ci',
// Use for anything that does not directly affect rulesets, ie. updating repo-wide
'repo',
],
],
'footer-max-line-length': [0],
},
ignores: [(commit) => commit.includes('[CI-SKIP]'), (commit) => commit.includes('Pull request')],
};