update rubocop to 1.24

This commit is contained in:
Marcelo Guimarães 2022-01-12 21:39:41 -03:00
parent 748b262581
commit 05bc3c3dcc
2 changed files with 6 additions and 4 deletions

View File

@ -2,6 +2,8 @@ AllCops:
TargetRubyVersion: 2.6
Exclude:
- "lib/generators/**/templates/**/*"
SuggestExtensions: false
NewCops: disable
Metrics/BlockLength:
Exclude:
@ -15,7 +17,7 @@ Metrics/ModuleLength:
Exclude:
- "**/*_spec.rb"
Metrics/LineLength:
Layout/LineLength:
Max: 120
Metrics/AbcSize:
@ -27,7 +29,7 @@ Metrics/CyclomaticComplexity:
Metrics/PerceivedComplexity:
Enabled: false
Layout/AlignParameters:
Layout/ParameterAlignment:
EnforcedStyle: with_fixed_indentation
Layout/CaseIndentation:
@ -63,5 +65,5 @@ Style/Not:
Style/DoubleNegation:
Enabled: false
Documentation:
Style/Documentation:
Enabled: false # TODO: Enable again once we have more docs

View File

@ -26,7 +26,7 @@ Gem::Specification.new do |gem|
gem.add_development_dependency "pry"
gem.add_development_dependency "rake"
gem.add_development_dependency "rspec", ">= 3.0.0"
gem.add_development_dependency "rubocop", "0.74.0"
gem.add_development_dependency "rubocop", "1.24.0"
gem.add_development_dependency "simplecov", ">= 0.17.0"
gem.add_development_dependency "yard"
end