2023-12-15 02:01:40 +03:00
|
|
|
/**
|
|
|
|
* @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',
|
2024-01-22 23:08:36 +03:00
|
|
|
'testing',
|
2023-12-15 02:01:40 +03:00
|
|
|
'textfield',
|
|
|
|
'tokens',
|
|
|
|
'typography',
|
|
|
|
],
|
|
|
|
],
|
|
|
|
},
|
|
|
|
};
|