feat(rule): validate & sort rule when generating (#1817)

This commit is contained in:
Richard Gomez authored and GitHub committed 2025-04-12 10:09:19 -05:00
1 parent 107a41827b
commit cfdeb0d7e0
18 files changed
+145 -115

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ import (
func CreateGlobalConfig() config.Config {
return config.Config{
Title: "gitleaks config",
Allowlist: config.Allowlist{
Allowlist: &config.Allowlist{
Description: "global allow lists",
Regexes: []*regexp.Regexp{
// ----------- General placeholders -----------