additionals/.rubocop.yml
2017-12-13 07:07:18 +01:00

48 lines
641 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
# broken with rubocop 0.52.0
# -> problems with date_format
Style/FormatStringToken:
Enabled: false