-
Notifications
You must be signed in to change notification settings - Fork 28
/
.rubocop.yml
30 lines (30 loc) · 704 Bytes
/
.rubocop.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
AllCops:
TargetRubyVersion: 2.2
DisplayCopNames: true
Metrics/LineLength:
Max: 120
Style/BlockDelimiters:
EnforcedStyle: line_count_based
Style/BracesAroundHashParameters:
EnforcedStyle: context_dependent
Style/TrailingCommaInLiteral:
EnforcedStyleForMultiline: consistent_comma
Style/ClassAndModuleChildren:
EnforcedStyle: compact
Metrics/AbcSize:
Max: 75
Metrics/MethodLength:
Max: 50
Metrics/ClassLength:
Max: 300
Metrics/ModuleLength:
Max: 300
Metrics/CyclomaticComplexity:
Max: 10
Metrics/PerceivedComplexity:
Max: 10
Style/TrailingCommaInArguments:
Enabled: false
#EnforcedStyleForMultiline: consistent_comma # this is very broke
Style/Documentation:
Enabled: false