additionals/.rubocop.yml

40 lines
487 B
YAML
Raw Normal View History

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
2015-10-09 19:20:04 +03:00
Metrics/LineLength:
Max: 140
Metrics/MethodLength:
Max: 60
Metrics/ModuleLength:
Max: 300
2015-12-06 14:48:33 +03:00
2015-10-09 19:20:04 +03:00
Metrics/PerceivedComplexity:
Max: 14
Rails/SkipsModelValidations:
2015-10-10 15:11:02 +03:00
Enabled: false
Style/AutoResourceCleanup:
Enabled: true
2016-10-19 14:30:14 +03:00
Style/Documentation:
Enabled: false