()
| 47 | func (i configItem) FilterValue() string { return i.value } |
| 48 | |
| 49 | func GetDefaultConfig() Config { |
| 50 | return Config{ |
| 51 | IgnoredFiles: []string{}, |
| 52 | IgnoredPatterns: []string{"*.exe", "*.dll", "*.png", "*.jpg", "*.jpeg", "*.gif", "*.bin"}, |
| 53 | CommitPrefixes: []string{"chore:", "refactor:", "feat:", "fix:", "docs:", "test:"}, |
| 54 | MaxCommitLength: 72, |
| 55 | DefaultEmoji: false, |
| 56 | ApiKey: "", |
| 57 | } |
| 58 | } |
| 59 | |
| 60 | func LoadConfig() Config { |
| 61 | projectCfg := LoadProjectConfig() |
no outgoing calls
no test coverage detected