Project

General

Profile

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

foreman_docker / .rubocop.yml @ 367f39d2

1 367f39d2 Sebastian Gräßl
# TODO: remove this file by either moving cops here or fixing code
2
inherit_from:
3
  - .rubocop_todo.yml
4
5 3bc253a2 David Davis
AllCops:
6 367f39d2 Sebastian Gräßl
  TargetRubyVersion: 2.0
7
8
Rails: # always run the rails cops
9
  Enabled: true
10
11
# Don't is_a? over kind_of?
12
Style/ClassCheck:
13
  Enabled: false
14 3bc253a2 David Davis
15 9c1fa5fb Daniel Lobato
# Don't enforce documentation
16
Style/Documentation:
17
  Enabled: false
18
19 367f39d2 Sebastian Gräßl
# Support both ruby19 and hash_rockets
20 9c1fa5fb Daniel Lobato
Style/HashSyntax:
21 367f39d2 Sebastian Gräßl
  Enabled: false
22 9c1fa5fb Daniel Lobato
23 367f39d2 Sebastian Gräßl
Style/StringLiterals:
24
  Enabled: false
25 dc3be9a0 David Davis
26 367f39d2 Sebastian Gräßl
Style/FrozenStringLiteralComment:
27 dc3be9a0 David Davis
  Enabled: false
28 0fdc54a8 David Davis
29
Metrics/ClassLength:
30 367f39d2 Sebastian Gräßl
  Exclude:
31
    - 'test/**/*'
32 4282fa50 David Davis
33 367f39d2 Sebastian Gräßl
Performance/FixedSize:
34
  Exclude:
35
    - 'test/**/*'
36 7ff105d1 David Davis
37
Rails/Date:
38
  Exclude:
39
   - foreman_docker.gemspec