forked from material-components/material-web
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcommitlint.config.js
46 lines (45 loc) · 851 Bytes
/
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
43
44
45
46
/**
* @license
* Copyright 2023 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
export default {
extends: ['@commitlint/config-conventional'],
rules: {
'scope-enum': [
2,
'always',
[
// Use "/" for multiple scopes: `fix(button/checkbox): subject"`
// Omit scope for broad "all" changes.
'button',
'catalog',
'checkbox',
'chips',
'color',
'dialog',
'divider',
'elevation',
'fab',
'field',
'focus',
'icon',
'iconbutton',
'labs',
'list',
'menu',
'progress',
'radio',
'ripple',
'select',
'slider',
'switch',
'tabs',
'testing',
'textfield',
'tokens',
'typography',
],
],
},
};