additionals/.rubocop.yml
Alexander Meindl b3d43de2e4 Rubocop update
2018-01-02 13:02:57 +01:00

43 lines
538 B
YAML

Rails:
Enabled: true
AllCops:
TargetRubyVersion: 2.1
TargetRailsVersion: 4.2
Metrics/AbcSize:
Max: 65
Metrics/BlockLength:
Max: 50
Metrics/ClassLength:
Max: 300
Metrics/CyclomaticComplexity:
Max: 13
Metrics/LineLength:
Max: 140
Metrics/MethodLength:
Max: 60
Metrics/ModuleLength:
Max: 300
Metrics/PerceivedComplexity:
Max: 14
Rails/SkipsModelValidations:
Enabled: false
Rails/CreateTableWithTimestamps:
Enabled: false
Style/AutoResourceCleanup:
Enabled: true
Style/Documentation:
Enabled: false