mirror of
https://github.com/rest-client/rest-client.git
synced 2022-11-09 13:49:40 -05:00
Update rubocop config for rubocop 0.54.
This commit is contained in:
parent
f450a0f086
commit
d1777841a9
2 changed files with 14 additions and 18 deletions
|
@ -53,8 +53,9 @@ Style/BracesAroundHashParameters:
|
|||
Enabled: false
|
||||
|
||||
# Offense count: 1
|
||||
Style/ClassAndModuleCamelCase:
|
||||
Enabled: false
|
||||
Naming/ClassAndModuleCamelCase:
|
||||
Exclude:
|
||||
- lib/restclient/windows/root_certs.rb
|
||||
|
||||
# Offense count: 2
|
||||
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
||||
|
@ -102,7 +103,7 @@ Style/ConditionalAssignment:
|
|||
EnforcedStyle: assign_inside_condition
|
||||
|
||||
# Offense count: 2
|
||||
Style/ConstantName:
|
||||
Naming/ConstantName:
|
||||
Enabled: false
|
||||
|
||||
# TODO: eh?
|
||||
|
@ -162,11 +163,9 @@ Layout/EmptyLinesAroundExceptionHandlingKeywords:
|
|||
Style/Encoding:
|
||||
Enabled: false
|
||||
|
||||
# TODO: exclude
|
||||
# Offense count: 1
|
||||
# Configuration parameters: Exclude.
|
||||
Style/FileName:
|
||||
Enabled: false
|
||||
Naming/FileName:
|
||||
Exclude:
|
||||
- lib/rest-client.rb
|
||||
|
||||
# Offense count: 3
|
||||
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
||||
|
@ -262,7 +261,7 @@ Style/PercentLiteralDelimiters:
|
|||
|
||||
# Offense count: 3
|
||||
# Configuration parameters: NamePrefixBlacklist.
|
||||
Style/PredicateName:
|
||||
Naming/PredicateName:
|
||||
Enabled: false
|
||||
|
||||
# TODO: configure
|
||||
|
@ -327,11 +326,6 @@ Layout/EmptyLinesAroundBlockBody:
|
|||
Layout/SpaceInsideBlockBraces:
|
||||
Enabled: false
|
||||
|
||||
# Offense count: 6
|
||||
# Cop supports --auto-correct.
|
||||
Layout/SpaceInsideBrackets:
|
||||
Enabled: false
|
||||
|
||||
# Offense count: 181
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SupportedStyles.
|
||||
|
@ -350,8 +344,10 @@ Layout/SpaceInsideParens:
|
|||
Style/StringLiterals:
|
||||
Enabled: false
|
||||
|
||||
Style/TrailingCommaInLiteral:
|
||||
EnforcedStyleForMultiline: comma
|
||||
Style/TrailingCommaInArrayLiteral:
|
||||
EnforcedStyleForMultiline: consistent_comma
|
||||
Style/TrailingCommaInHashLiteral:
|
||||
EnforcedStyleForMultiline: consistent_comma
|
||||
Style/TrailingCommaInArguments:
|
||||
Enabled: false
|
||||
|
||||
|
@ -387,7 +383,7 @@ Style/BarePercentLiterals:
|
|||
Enabled: false
|
||||
|
||||
|
||||
Lint/RescueWithoutErrorClass:
|
||||
Style/RescueStandardError:
|
||||
Exclude:
|
||||
- 'bin/restclient'
|
||||
- 'lib/restclient/windows/root_certs.rb'
|
||||
|
|
|
@ -21,7 +21,7 @@ Gem::Specification.new do |s|
|
|||
s.add_development_dependency('pry', '~> 0')
|
||||
s.add_development_dependency('pry-doc', '~> 0')
|
||||
s.add_development_dependency('rdoc', '>= 2.4.2', '< 6.0')
|
||||
s.add_development_dependency('rubocop', '~> 0')
|
||||
s.add_development_dependency('rubocop', '~> 0.49')
|
||||
|
||||
s.add_dependency('http-accept', '>= 1.7.0', '< 2.0')
|
||||
s.add_dependency('http-cookie', '>= 1.0.2', '< 2.0')
|
||||
|
|
Loading…
Reference in a new issue