Project

General

Profile

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

foreman_docker / .rubocop.yml @ cefce4bc

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 72bf89bf Michael Moll
  TargetRubyVersion: 2.2
7 fb471374 Michael Moll
  TargetRailsVersion: 5.1
8 367f39d2 Sebastian Gräßl
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 3bc253a2 David Davis
16 9c1fa5fb Daniel Lobato
# Don't enforce documentation
17
Style/Documentation:
18
  Enabled: false
19
20 367f39d2 Sebastian Gräßl
# Support both ruby19 and hash_rockets
21 9c1fa5fb Daniel Lobato
Style/HashSyntax:
22 367f39d2 Sebastian Gräßl
  Enabled: false
23 9c1fa5fb Daniel Lobato
24 367f39d2 Sebastian Gräßl
Style/StringLiterals:
25
  Enabled: false
26 dc3be9a0 David Davis
27 367f39d2 Sebastian Gräßl
Style/FrozenStringLiteralComment:
28 dc3be9a0 David Davis
  Enabled: false
29 0fdc54a8 David Davis
30
Metrics/ClassLength:
31 367f39d2 Sebastian Gräßl
  Exclude:
32
    - 'test/**/*'
33 4282fa50 David Davis
34 367f39d2 Sebastian Gräßl
Performance/FixedSize:
35
  Exclude:
36
    - 'test/**/*'
37 7ff105d1 David Davis
38
Rails/Date:
39
  Exclude:
40
   - foreman_docker.gemspec