* 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
12 lines
216 B
YAML
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"
|