-
Notifications
You must be signed in to change notification settings - Fork 1
/
.commitlintrc.mjs
42 lines (42 loc) · 1.15 KB
/
.commitlintrc.mjs
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
export default {
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',
'codemods',
'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-assets',
'exporter-tokens',
// Use when committing changes/additions/removals to exact config
'jest-config',
'prettier-config',
'stylelint-config',
'typescript-config',
// 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',
],
],
},
};