mirror of
https://github.com/TracksApp/tracks.git
synced 2025-09-21 21:40:48 +02:00
Relax the Rubocop limits a bit to make CodeClimate more useful
This commit is contained in:
parent
f40e3c0788
commit
a0f0ca0c13
2 changed files with 18 additions and 1 deletions
17
.rubocop.yml
17
.rubocop.yml
|
@ -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
|
||||
|
|
2
Gemfile
2
Gemfile
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue