Ignore PercentLiteralDelimiters and WordArray

Per a discussion in IRC, these rules in particular don't
appear to be valuable for Metasploit at this stage.
bug/bundler_fix
Tod Beardsley 2014-07-30 10:28:12 -05:00
parent 1e47383118
commit 49e48566da
No known key found for this signature in database
GPG Key ID: 1EFFB682ADB9F193
1 changed files with 15 additions and 0 deletions

View File

@ -41,3 +41,18 @@ Style/MethodLength:
Style/NumericLiterals:
Enabled: false
Description: 'This often hurts readability for exploit-ish code.'
Style/PercentLiteralDelimiters:
Enabled: false
Description: >-
Metasploit devs tend to prefer [] over %w() for
nearly all cases, since we often deal with funny
looking arrays of nonwords. Consistency here is
preferred over element type safety.
Style/WordArray:
Enabled: false
Description: >-
Metasploit devs have grown comforatble with curly
braces over parens for %w. Disabling this check
prefers consistency.