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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# Permissive Configuration Preset
# Use this for legacy codebases or complex domains
# Recommended for: Legacy projects, complex business logic, gradual migration
= "1.0"
# ============================================================================
# Permissive Thresholds - Higher tolerance for complexity
# ============================================================================
[]
# High complexity threshold - only flag very complex functions
= 100
# Higher duplication tolerance
= 20
# Longer file and function limits
= 2000
= 100
# Relaxed parameter and nesting limits
= 6
= 5
# ============================================================================
# Permissive Scoring - De-emphasize coverage, focus on complexity
# ============================================================================
[]
# Lower coverage weight - recognize legacy code may lack tests
= 0.40
= 0.40 # Higher complexity weight
= 0.20
= 0.00
= 0.00
= 0.00
# ============================================================================
# Permissive Analysis Settings
# ============================================================================
[]
# Optional validation checks
= false
= false
# Higher pattern threshold - only very confident detections
= 0.6
# ============================================================================
# Permissive Display Settings
# ============================================================================
[]
= "terminal"
= 1 # Standard verbosity
= "standard"
= false
= false
[]
= 5.0 # Higher threshold - focus on critical issues only
# ============================================================================
# Permissive Validation for CI/CD
# ============================================================================
[]
= 15.0 # More lenient
= 100.0 # Higher debt density allowed
= 10.0 # Higher risk tolerance
= 0.0 # No coverage requirement
# ============================================================================
# Ignore Patterns (same for all presets)
# ============================================================================
[]
= [
"tests/**/*",
"examples/**/*",
"benches/**/*",
"**/target/**",
]