Skip to content

Commit 6e06d1a

Browse files
author
Brent Cook
committed
update rubocop rules for common practice
1 parent 1d290d2 commit 6e06d1a

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.rubocop.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,22 @@ Metrics/ClassLength:
1414
Exclude:
1515
- 'modules/**/*'
1616

17+
Metrics/AbcSize:
18+
Enabled: false
19+
Description: 'This is often a red-herring'
20+
21+
Metrics/CyclomaticComplexity:
22+
Enabled: false
23+
Description: 'This is often a red-herring'
24+
25+
Metrics/PerceivedComplexity:
26+
Enabled: false
27+
Description: 'This is often a red-herring'
28+
29+
Style/FrozenStringLiteralComment:
30+
Enabled: false
31+
Description: 'We cannot support this yet without a lot of things breaking'
32+
1733
Style/Documentation:
1834
Enabled: true
1935
Description: 'Most Metasploit modules do not have class documentation.'

0 commit comments

Comments
 (0)