Feat/allowlist regex target (#1107)

* adding regexTarget entry in allowlist

* update readme

* add globalregextarget to check

* update readme
This commit is contained in:
Zachary Rice authored and GitHub committed 2023-02-26 08:51:59 -06:00
1 parent 343e69399b
commit 4b5e8e1829
4 files changed
+51 -19

No files matched your search

+3
View File
@@ -14,6 +14,9 @@ type Allowlist struct {
// Regexes is slice of content regular expressions that are allowed to be ignored.
Regexes []*regexp.Regexp
// RegexTarget
RegexTarget string
// Paths is a slice of path regular expressions that are allowed to be ignored.
Paths []*regexp.Regexp