additionals/.rubocop.yml
2018-07-15 10:07:31 +02:00

46 lines
583 B
YAML

Rails:
Enabled: true
AllCops:
TargetRubyVersion: 2.2
TargetRailsVersion: 4.2
Metrics/AbcSize:
Max: 65
Metrics/BlockLength:
Max: 60
Metrics/ClassLength:
Max: 500
Metrics/CyclomaticComplexity:
Max: 20
Metrics/LineLength:
Max: 140
Metrics/MethodLength:
Max: 60
Metrics/ModuleLength:
Max: 500
Metrics/PerceivedComplexity:
Max: 20
Rails/SkipsModelValidations:
Enabled: false
Rails/CreateTableWithTimestamps:
Enabled: false
Style/AutoResourceCleanup:
Enabled: true
Style/Documentation:
Enabled: false
Style/ExpandPathArguments:
Enabled: false