adding stopwords (#849)

* adding stopwords

* format readme, update default config
This commit is contained in:
Zachary Rice authored and GitHub committed 2022-04-21 08:31:58 -05:00
1 parent 82f7d61593
commit 8481f0e9cd
64 files changed
+181 -109

No files matched your search

+3 -3
View File
@@ -19,7 +19,7 @@ func DiscordAPIToken() *config.Rule {
tps := []string{
generateSampleSecret("discord", secrets.NewSecret(hex("64"))),
}
return validate(r, tps)
return validate(r, tps, nil)
}
func DiscordClientID() *config.Rule {
@@ -36,7 +36,7 @@ func DiscordClientID() *config.Rule {
tps := []string{
generateSampleSecret("discord", secrets.NewSecret(numeric("18"))),
}
return validate(r, tps)
return validate(r, tps, nil)
}
func DiscordClientSecret() *config.Rule {
@@ -53,5 +53,5 @@ func DiscordClientSecret() *config.Rule {
tps := []string{
generateSampleSecret("discord", secrets.NewSecret(numeric("32"))),
}
return validate(r, tps)
return validate(r, tps, nil)
}