mirror of
https://github.com/material-components/material-web.git
synced 2024-08-17 17:40:40 +03:00
47 lines
851 B
JavaScript
47 lines
851 B
JavaScript
/**
|
|
* @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',
|
|
],
|
|
],
|
|
},
|
|
};
|