diff --git a/.rubocop.yml b/.rubocop.yml index 11dbc2d..ce1fec6 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,3 +1,6 @@ +require: + - rubocop-packaging + AllCops: DisplayCopNames: true DisplayStyleGuide: true @@ -22,7 +25,7 @@ Layout/LineLength: Max: 100 Metrics/AbcSize: - Max: 25 + Max: 28 Metrics/BlockLength: Exclude: @@ -33,7 +36,7 @@ Metrics/CyclomaticComplexity: Max: 30 Metrics/PerceivedComplexity: - Max: 10 + Max: 11 Layout/SpaceAroundMethodCallOperator: Enabled: true diff --git a/Gemfile b/Gemfile index d5f0f18..1029c25 100644 --- a/Gemfile +++ b/Gemfile @@ -8,6 +8,7 @@ gemspec gem 'multipart-parser' group :lint, :development do - gem 'rubocop', '~> 0.82.0' + gem 'rubocop', '~> 0.91.1' + gem 'rubocop-packaging', '~> 0.5' gem 'rubocop-performance', '~> 1.0' end diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index b497b9d..929f2ca 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -7,7 +7,6 @@ minimum_coverage_by_file 75 end -require 'bundler/setup' require 'faraday/http' require 'faraday_specs_setup'