feat(config): The default config now filters out more junk.

This includes `.envrc` files, `.local/`, `node_modules`, and `vendor`.
This commit is contained in:
2025-11-07 10:44:29 -05:00
parent f43705cd53
commit 15be62b5a2

View File

@@ -47,7 +47,12 @@ func NewConfig(privateKeyPaths []string) Config {
Keys: keys, Keys: keys,
ScanConfig: scanConfig{ ScanConfig: scanConfig{
Matcher: "\\.env", Matcher: "\\.env",
Exclude: []string{"*.envrc"}, Exclude: []string{
"*\\.envrc",
"\\.local/",
"node_modules",
"vendor",
},
Include: []string{"~"}, Include: []string{"~"},
}, },
} }