From 15be62b5a2a5a735b90b074497d645c5a2cfced8 Mon Sep 17 00:00:00 2001 From: Spencer Brower Date: Fri, 7 Nov 2025 10:44:29 -0500 Subject: [PATCH] feat(config): The default config now filters out more junk. This includes `.envrc` files, `.local/`, `node_modules`, and `vendor`. --- app/config.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/config.go b/app/config.go index 61a5b4a..bf8a672 100644 --- a/app/config.go +++ b/app/config.go @@ -47,7 +47,12 @@ func NewConfig(privateKeyPaths []string) Config { Keys: keys, ScanConfig: scanConfig{ Matcher: "\\.env", - Exclude: []string{"*.envrc"}, + Exclude: []string{ + "*\\.envrc", + "\\.local/", + "node_modules", + "vendor", + }, Include: []string{"~"}, }, }