Files
kami_frontend/commitlint.config.js
danial 469b9436ba refactor(api): 更新沃尔玛卡片列表接口返回类型
- 将 queryWalmartCardList 函数的返回类型从 CommonPageResult<walmartCardUpdateRecord> 修改为 CommonPageResult<KamiApiCardInfoWalmartV1AccountListRecord>
- 新增导入 KamiApiCardInfoWalmartV1AccountListRecord 类型
- 更新相关的模型文件
2025-01-04 13:46:47 +08:00

34 lines
703 B
JavaScript

/** @type {import("@commitlint/types").UserConfig} */
export default {
extends: ['@commitlint/config-conventional'],
rules: {
'body-leading-blank': [2, 'always'],
'body-max-line-length': [2, 'always', 200],
'footer-leading-blank': [1, 'always'],
'header-max-length': [2, 'always', 200],
'subject-empty': [2, 'never'],
'type-empty': [2, 'never'],
'type-enum': [
2,
'always',
[
'feat',
'fix',
'perf',
'style',
'docs',
'test',
'refactor',
'build',
'ci',
'chore',
'revert',
'enhance',
'workflow',
'types',
'release'
]
]
}
};