Files
redmine/.rubocop.yml
2017-05-25 12:20:11 +02:00

44 lines
585 B
YAML

Rails:
Enabled: true
Rails/ApplicationRecord:
Enabled: false
AllCops:
TargetRubyVersion: 2.1
Metrics/LineLength:
Max: 140
# Offense count: 34
# Configuration parameters: CountComments.
Metrics/MethodLength:
Max: 60
# Offense count: 11
Metrics/CyclomaticComplexity:
Max: 13
# Offense count: 10
Metrics/PerceivedComplexity:
Max: 14
# Offense count: 15
Metrics/AbcSize:
Max: 65
Metrics/ModuleLength:
Max: 300
Metrics/ClassLength:
Max: 300
Style/Documentation:
Enabled: false
Rails/HttpPositionalArguments:
Enabled: false
Metrics/BlockLength:
Max: 50