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