-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.commitlintrc.js
35 lines (35 loc) · 952 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
module.exports = {
extends: ['@lmc-eu/commitlint-config'],
ignores: [
(commit) => commit.includes('[ci-skip]'),
(commit) => commit.includes('Pull request'),
(commit) => commit.includes('Updated styles and tokens'),
],
rules: {
'scope-enum': [
1,
'always',
[
// Use when committing changes/additions/removals to exact package
'analytics',
'common',
'design-tokens',
'form-validations',
'icons',
'web',
'web-react',
'web-twig',
// Use when committing changes/additions/removals to exact exporter
'exporter-js',
'exporter-scss',
'exporter-svg',
// Use when affecting CI process
'ci',
// Use for anything that does not directly affect packages, ie. updating repo-wide
'repo',
// Use for changes in support applications like `demo`
'demo'
],
],
},
};