conventional-changelog/commitlint
fix: <title> type-enum inside RuleConfigSeverity.Error is not working.
已关闭
#4,119 创建于 2024年8月10日
bughelp wanted
仓库指标
- 星标
- (15,497 个星标)
- PR 合并指标
- (平均合并 12小时 56分钟) (30 天内合并 52 个 PR)
描述
Steps to Reproduce
import { RuleConfigSeverity, UserConfig } from '@commitlint/types';
const Configuration: UserConfig = {
rules: {
"type-enum": [
RuleConfigSeverity.Error,
"always",
[
// Changes related to the build process or build tools.
"build",
// Changes that introduce functional or behavioral modifications.
"change",
// Miscellaneous tasks or maintenance chores that don't affect functionality.
"chore",
]
}
export default Configuration;
Current Behavior
Expected Behavior
Affected packages
- cli
- core
- prompt
- config-angular
Possible Solution
No response
Context
No response
commitlint --version
@commitlint/cli@19.4.0
git --version
v2.46.0
node --version
v20.16.0