Files
trufflehog/.golangci.yml
Brad Larsen 2bffafb280 Clean up use of wasilibs/go-re2 (#5273)
* perf: switch nearly all remaining uses of stdlib regexp to wasilibs/go-re2
* perf: upgrade github.com/wasilibs/go-re2 from v1.9.0 to v1.12.0
* gofmt modified files
* snowflake detector: hoist constant regex compilation to package-level variables
* add golangci lint to steer folks to go-re2 instead of regexp
2026-09-09 17:25:38 -04:00

12 lines
216 B
YAML

version: "2"
linters:
enable:
- depguard
settings:
depguard:
rules:
no-stdlib-regexp:
deny:
- pkg: "regexp$"
desc: "use wasilibs/go-re2 unless necessary"