Skip to content

Commit d1ccb6c

Browse files
committed
Fix gitleaks config stopwords section
1 parent 624d44e commit d1ccb6c

File tree

1 file changed

+14
-15
lines changed

1 file changed

+14
-15
lines changed

.gitleaks.toml

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,20 @@ regexes = [
5757
# Base64 test data that's obviously fake
5858
'''['"](dGVzdA==|ZGVtbw==|ZXhhbXBsZQ==)['"]''',
5959
]
60+
stopwords = [
61+
"test",
62+
"demo",
63+
"example",
64+
"placeholder",
65+
"dummy",
66+
"fake",
67+
"mock",
68+
"sample",
69+
"template",
70+
"documentation",
71+
"tutorial",
72+
"guide"
73+
]
6074

6175
# Specific rules to customize
6276
[[rules]]
@@ -96,18 +110,3 @@ paths = [
96110
# "95f65c37dda67ee497aceb3246c323458d946160" = "Initial test data setup"
97111

98112
# Stop words that indicate test/demo content
99-
[allowlist.stopwords]
100-
stopwords = [
101-
"test",
102-
"demo",
103-
"example",
104-
"placeholder",
105-
"dummy",
106-
"fake",
107-
"mock",
108-
"sample",
109-
"template",
110-
"documentation",
111-
"tutorial",
112-
"guide"
113-
]

0 commit comments

Comments
 (0)