1
0
Fork 0
mirror of https://github.com/rest-client/rest-client.git synced 2022-11-09 13:49:40 -05:00

Appease rubocop for a few rules.

This commit is contained in:
Andy Brody 2014-11-28 00:25:53 -05:00
parent 18ee352a95
commit 440b8256e5
3 changed files with 34 additions and 11 deletions

View file

@ -17,6 +17,10 @@ Lint/StringConversionInInterpolation:
Lint/UnusedBlockArgument:
Enabled: false
Lint/Eval:
Exclude:
- rest-client.windows.gemspec
# Offense count: 4
# Cop supports --auto-correct.
Style/Alias:
@ -49,6 +53,20 @@ Style/ClassAndModuleCamelCase:
Style/ClassAndModuleChildren:
Enabled: false
# TODO?
# Offense count: 14
Metrics/AbcSize:
Max: 75
# TODO?
Metrics/MethodLength:
Max: 66
# TODO?
# Offense count: 4
Metrics/PerceivedComplexity:
Max: 24
# Offense count: 1
# Configuration parameters: CountComments.
Metrics/ClassLength:
@ -105,6 +123,11 @@ Style/DoubleNegation:
Style/EachWithObject:
Enabled: false
# Offense count: 5
# Cop supports --auto-correct.
Style/EmptyLines:
Enabled: false
# Offense count: 11
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.