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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue