summaryrefslogtreecommitdiff
path: root/.rubocop.yml
blob: c9feb242d056e6d1ce476fee4695c1428ea7c12a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
inherit_from: .rubocop_todo.yml

AllCops:
  Include:
    - Rakefile

StringLiterals:
  Enabled: false

LineLength:
  Enabled: false

# Stick to verbose until https://bugs.ruby-lang.org/issues/10177 is closed.
Style/PreferredHashMethods:
  EnforcedStyle: verbose

Style/Not:
  Enabled: false

# comply with @ytti's exacting specifications
Style/CommandLiteral:
  EnforcedStyle: percent_x

Style/FormatString:
  EnforcedStyle: percent

Style/FormatStringToken:
  EnforcedStyle: unannotated

Style/RescueModifier:
  Enabled: false

Style/MultilineBlockChain:
  Enabled: false

# Do not attempt to police vendored code, and exclude special cases
AllCops:
  Exclude:
    - 'vendor/**/*'
    - 'lib/oxidized/input/tftp.rb'