rubocop 0.82.0 (was 0.80.1)

This commit is contained in:
Jared Beck 2020-05-03 00:45:01 -04:00
parent 34d6eeedf6
commit 6db86e621f
2 changed files with 14 additions and 1 deletions

View File

@ -48,11 +48,20 @@ Layout/MultilineOperationIndentation:
Layout/ParameterAlignment:
EnforcedStyle: with_fixed_indentation
Layout/SpaceAroundMethodCallOperator:
Enabled: true
# Use exactly one space on each side of an operator. Do not align operators
# because it makes the code harder to edit, and makes lines unnecessarily long.
Layout/SpaceAroundOperators:
AllowForAlignment: false
Lint/RaiseException:
Enabled: true
Lint/StructNewOverride:
Enabled: true
# Migrations often contain long up/down methods, and extracting smaller methods
# from these is of questionable value.
Metrics/AbcSize:
@ -132,6 +141,10 @@ Style/BlockDelimiters:
Style/DoubleNegation:
Enabled: false
# This cop is unimportant in this repo.
Style/ExponentialNotation:
Enabled: false
# Avoid annotated tokens except in desperately complicated format strings.
# In 99% of format strings they actually make it less readable.
Style/FormatStringToken:

View File

@ -44,7 +44,7 @@ has been destroyed.
s.add_development_dependency "paper_trail-association_tracking", "~> 2.0.0"
s.add_development_dependency "rake", "~> 13.0"
s.add_development_dependency "rspec-rails", "~> 3.8"
s.add_development_dependency "rubocop", "~> 0.80.0"
s.add_development_dependency "rubocop", "~> 0.82.0"
s.add_development_dependency "rubocop-performance", "~> 1.4"
s.add_development_dependency "rubocop-rspec", "~> 1.35"