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
@@ -7,7 +7,7 @@ import (
"github.com/zricethezav/gitleaks/v8/regexp"
)
var githubAllowlist = []config.Allowlist{
var githubAllowlist = []*config.Allowlist{
{
Paths: []*regexp.Regexp{
// https://github.com/octokit/auth-token.js/?tab=readme-ov-file#createtokenauthtoken-options