Project

General

Profile

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

foreman_docker / .rubocop.yml @ master

1
# TODO: remove this file by either moving cops here or fixing code
2
inherit_from:
3
  - .rubocop_todo.yml
4

    
5
AllCops:
6
  TargetRubyVersion: 2.2
7
  TargetRailsVersion: 5.1
8

    
9
Rails: # always run the rails cops
10
  Enabled: true
11

    
12
# Don't is_a? over kind_of?
13
Style/ClassCheck:
14
  Enabled: false
15

    
16
# Don't enforce documentation
17
Style/Documentation:
18
  Enabled: false
19

    
20
# Support both ruby19 and hash_rockets
21
Style/HashSyntax:
22
  Enabled: false
23

    
24
Style/StringLiterals:
25
  Enabled: false
26

    
27
Style/FrozenStringLiteralComment:
28
  Enabled: false
29

    
30
Metrics/ClassLength:
31
  Exclude:
32
    - 'test/**/*'
33

    
34
Performance/FixedSize:
35
  Exclude:
36
    - 'test/**/*'
37

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