Relax the Rubocop limits a bit to make CodeClimate more useful

This commit is contained in:
Jyri-Petteri Paloposki 2022-02-22 23:11:54 +02:00
parent f40e3c0788
commit a0f0ca0c13
2 changed files with 18 additions and 1 deletions

View file

@ -16,3 +16,20 @@ Style/StringLiterals:
Layout/AlignParameters:
EnforcedStyle: with_fixed_indentation
Metrics/AbcSize:
Max: 100
Metrics/CyclomaticComplexity:
Max: 100
Metrics/MethodLength:
Max: 100
CountAsOne: ['array', 'hash', 'heredoc']
Metrics/ModuleLength:
Max: 300
CountAsOne: ['array', 'hash', 'heredoc']
Metrics/ClassLength:
Max: 300
Metrics/ParameterLists:
Max: 20
Metrics/PerceivedComplexity:
Max: 100

View file

@ -61,8 +61,8 @@ group :test do
gem 'codeclimate-test-reporter', '1.0.7', group: :test, require: nil
gem 'database_cleaner'
gem 'factory_bot_rails'
gem 'mocha', :require => false
gem 'minitest-stub-const'
gem 'mocha', :require => false
gem 'rails-controller-testing'
gem 'rails-dom-testing', '~> 2.0.0'
gem 'rspec-expectations'