diff --git a/.rubocop.yml b/.rubocop.yml index a0cff89a8..08ace4a8d 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -128,6 +128,8 @@ Lint/RedundantDirGlobSort: Enabled: true Lint/RefinementImportMethods: Enabled: true +Lint/RequireRangeParentheses: + Enabled: true Lint/RequireRelativeSelfPath: Enabled: true Lint/SelfAssignment: @@ -306,6 +308,8 @@ Style/Documentation: Enabled: false # FIXME reenable Style/DoubleNegation: Enabled: true +Style/EmptyHeredoc: + Enabled: true Style/EmptyLiteral: Enabled: true Style/EndlessMethod: diff --git a/Gemfile b/Gemfile index c48751e9c..47f0ec1a6 100644 --- a/Gemfile +++ b/Gemfile @@ -27,7 +27,7 @@ group :lint do gem 'rubocop-rake', '~> 0.6.0', require: false gem 'rubocop-rspec', '~> 2.10.0', require: false else - gem 'rubocop', '~> 1.31.0', require: false + gem 'rubocop', '~> 1.32.0', require: false gem 'rubocop-rake', '~> 0.6.0', require: false gem 'rubocop-rspec', '~> 2.12.0', require: false end