disable redundant return warning, update a couple others

bug/bundler_fix
Brent Cook 2017-08-13 23:29:29 -04:00
parent e36f5602cb
commit f27d41db83
1 changed files with 6 additions and 2 deletions

View File

@ -33,13 +33,17 @@ Style/FrozenStringLiteralComment:
Enabled: false Enabled: false
Description: 'We cannot support this yet without a lot of things breaking' Description: 'We cannot support this yet without a lot of things breaking'
Style/RedundantReturn:
Description: 'This often looks weird when mixed with actual returns, and hurts nothing'
Enabled: false
Style/Documentation: Style/Documentation:
Enabled: true Enabled: true
Description: 'Most Metasploit modules do not have class documentation.' Description: 'Most Metasploit modules do not have class documentation.'
Exclude: Exclude:
- 'modules/**/*' - 'modules/**/*'
Style/IndentHeredoc: Layout/IndentHeredoc:
Enabled: false Enabled: false
Description: 'We need to leave this disabled for Ruby 2.2 compat, remove in 2018' Description: 'We need to leave this disabled for Ruby 2.2 compat, remove in 2018'
@ -88,7 +92,7 @@ Style/NumericLiterals:
Enabled: false Enabled: false
Description: 'This often hurts readability for exploit-ish code.' Description: 'This often hurts readability for exploit-ish code.'
Style/SpaceInsideBrackets: Layout/SpaceInsideBrackets:
Enabled: false Enabled: false
Description: 'Until module template are final, most modules will fail this.' Description: 'Until module template are final, most modules will fail this.'