summaryrefslogtreecommitdiff
path: root/.rubocop.yml
blob: 20567f4d04a3f9c3e5b34cd5f5ff662d42d18c79 (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
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

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