Project

General

Profile

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

foreman-docker / .rubocop.yml @ f02a9ce2

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?
30

    
31
Style/MethodCalledOnDoEndBlock:
32
  Enabled: true
33

    
34
Style/DotPosition:
35
  EnforcedStyle: 'leading'
36

    
37
Rails/Date:
38
  Exclude:
39
   - foreman_docker.gemspec