Skip to content

Commit 7d47273

Browse files
author
ABaldwinHunter
committed
Tune remediation points
Tune complexity points, following calculation function in codeclimate-eslint, and creating more parity with Ruby analysis in Code Climate classic.
1 parent 038705e commit 7d47273

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

config/cops.yml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,25 @@
11
Metrics/AbcSize:
22
violation_points: 100_000
33
Metrics/BlockNesting:
4-
base_points: 30_000
4+
base_points: 100_000
55
Metrics/ClassLength:
6-
base_points: 400_000
6+
base_points: 800_000
7+
violation_points: 75_000
78
Metrics/CyclomaticComplexity:
8-
base_points: 75_000
9-
violation_points: 10_000
9+
base_points: 1_000_000
10+
violation_points: 100_000
1011
Metrics/LineLength:
11-
base_points: 20_000
12+
base_points: 100_000
1213
violation_points: 5_000
1314
Metrics/MethodLength:
14-
base_points: 50_000
15-
violation_points: 10_000
15+
base_points: 800_000
16+
violation_points: 75_000
1617
Metrics/ModuleLength:
17-
base_points: 500_000
18-
violation_points: 5_000
18+
base_points: 800_000
19+
violation_points: 75_000
1920
Metrics/ParameterList:
20-
base_points: 10_000
21+
base_points: 200_000
2122
violation_points: 50_000
2223
Metrics/PerceivedComplexity:
23-
base_points: 50_000
24-
violation_points: 5000
24+
base_points: 100_000
25+
violation_points: 50_000

0 commit comments

Comments
 (0)