Project

General

Profile

Download (488 Bytes) Statistics
| Branch: | Tag: | Revision:

foreman_docker / .rubocop.yml @ 8c1d6780

1
AllCops:
2
  RunRailsCops: true # always run the rails cops
3

    
4
# Don't enforce documentation
5
Style/Documentation:
6
  Enabled: false
7

    
8
# Need to support ruby 1.8
9
Style/HashSyntax:
10
  EnforcedStyle: hash_rockets
11

    
12
# Force before_filter until upgrade to Rails 4
13
Rails/ActionFilter:
14
  EnforcedStyle: filter
15

    
16
Metrics/LineLength:
17
  Max: 100
18

    
19
Metrics/MethodLength:
20
  Max: 20
21

    
22
StringLiterals:
23
  Enabled: false
24

    
25
Metrics/ClassLength:
26
  Max: 200
27

    
28
Metrics/AbcSize:
29
  Enabled: false # should we turn this on?