Actualiza archivos pendientes del repositorio
This commit is contained in:
parent
ff02462137
commit
1c7d915cbb
9 changed files with 186 additions and 1 deletions
49
plugins/additionals/rubocop.yml
Normal file
49
plugins/additionals/rubocop.yml
Normal file
|
@ -0,0 +1,49 @@
|
|||
Rails:
|
||||
Enabled: true
|
||||
|
||||
AllCops:
|
||||
TargetRubyVersion: 2.2
|
||||
TargetRailsVersion: 5.2
|
||||
|
||||
Metrics/AbcSize:
|
||||
Max: 65
|
||||
|
||||
Metrics/BlockLength:
|
||||
Max: 60
|
||||
|
||||
Metrics/ClassLength:
|
||||
Enabled: false
|
||||
|
||||
Metrics/CyclomaticComplexity:
|
||||
Max: 20
|
||||
|
||||
Metrics/LineLength:
|
||||
Max: 140
|
||||
|
||||
Metrics/MethodLength:
|
||||
Max: 60
|
||||
|
||||
Metrics/ModuleLength:
|
||||
Enabled: false
|
||||
|
||||
Metrics/PerceivedComplexity:
|
||||
Max: 25
|
||||
|
||||
Rails/SkipsModelValidations:
|
||||
Enabled: false
|
||||
|
||||
Rails/CreateTableWithTimestamps:
|
||||
Enabled: false
|
||||
|
||||
# app/model/application_record.rb is missing in redmine, we can't use ApplicationRecord
|
||||
Rails/ApplicationRecord:
|
||||
Enabled: false
|
||||
|
||||
Style/AutoResourceCleanup:
|
||||
Enabled: true
|
||||
|
||||
Style/Documentation:
|
||||
Enabled: false
|
||||
|
||||
Style/ExpandPathArguments:
|
||||
Enabled: false
|
Loading…
Add table
Add a link
Reference in a new issue