-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.garbage-code-hunter.toml
More file actions
39 lines (35 loc) · 935 Bytes
/
Copy path.garbage-code-hunter.toml
File metadata and controls
39 lines (35 loc) · 935 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Garbage Code Hunter — Project Configuration
# Place this file in your project root. The tool auto-discovers it.
[rules.println]
enabled = false
[rules.magic-number]
enabled = false
[whitelists]
magic_numbers = [0, 1, 2, 3, 4, 5, 10, 60, 100]
variable_names = ["tmp", "temp", "val", "i", "j", "k", "g", "h", "t"]
# Patterns to exclude from analysis (glob-like, matched against full path)
# These are merged with built-in defaults (target/, node_modules/, .git/, etc.)
exclude_patterns = [
# Generated protobuf files
"*.pb.go",
"*.pulsar.go",
"*_grpc.pb.go",
# Generated TypeScript
"*.gen.ts",
"*.generated.*",
"*.min.js",
"*.bundle.js",
# Python virtual environments / caches
".venv/",
"venv/",
"__pycache__/",
".mypy_cache/",
".pytest_cache/",
# Vendor directories
"vendor/",
"third_party/",
# Build artifacts
"build/",
"dist/",
"out/",
]