|
1 |
| -# This list was created by analyzing the last three months (51 modules) |
2 |
| -# committed to Metasploit Framework. Many, many older modules will have |
3 |
| -# offenses, but this should at least provide a baseline for new modules. |
| 1 | +# This list was intially created by analyzing the last three months (51 |
| 2 | +# modules) committed to Metasploit Framework. Many, many older modules |
| 3 | +# will have offenses, but this should at least provide a baseline for |
| 4 | +# new modules. |
4 | 5 | #
|
5 |
| -# Updates to this file should include a 'Description' parameter for |
6 |
| -# any explaination needed. |
| 6 | +# Updates to this file should include a 'Description' parameter for any |
| 7 | +# explaination needed. |
7 | 8 |
|
8 |
| -inherit_from: .rubocop_todo.yml |
| 9 | +# inherit_from: .rubocop_todo.yml |
9 | 10 |
|
10 | 11 | Style/ClassLength:
|
11 | 12 | Description: 'Most Metasploit modules are quite large. This is ok.'
|
@@ -42,17 +43,14 @@ Style/NumericLiterals:
|
42 | 43 | Enabled: false
|
43 | 44 | Description: 'This often hurts readability for exploit-ish code.'
|
44 | 45 |
|
45 |
| -Style/PercentLiteralDelimiters: |
| 46 | +Style/SpaceInsideBrackets: |
46 | 47 | Enabled: false
|
47 |
| - Description: >- |
48 |
| - Metasploit devs tend to prefer [] over %w() for |
49 |
| - nearly all cases, since we often deal with funny |
50 |
| - looking arrays of nonwords. Consistency here is |
51 |
| - preferred over element type safety. |
| 48 | + Description: 'Until module template are final, most modules will fail this.' |
| 49 | + |
| 50 | +Style/StringLiterals: |
| 51 | + Enabled: false |
| 52 | + Description: 'Single vs double quote fights are largely unproductive.' |
52 | 53 |
|
53 | 54 | Style/WordArray:
|
54 | 55 | Enabled: false
|
55 |
| - Description: >- |
56 |
| - Metasploit devs have grown comforatble with curly |
57 |
| - braces over parens for %w. Disabling this check |
58 |
| - prefers consistency. |
| 56 | + Description: 'Metasploit prefers consistent use of []' |
0 commit comments