summaryrefslogtreecommitdiff
path: root/.rubocop.yml
blob: 8d0274bc6f5311b0eb08f6126e809fce10172a15 (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
AllCops:
  Include:
    - Guardfile
    - Rakefile
  Exclude:
    - .bundle/**/*
    - vendor/**/*

inherit_from: .rubocop_todo.yml

# Disabled until we can use the squiggly heredoc (after deprecating Ruby <2.3)
Layout/IndentHeredoc:
  Enabled: false

Metrics/BlockLength:
  Exclude:
    - 'spec/**/*.rb'

Metrics/LineLength:
  Exclude:
    - 'Guardfile'
  Max: 110

Naming/FileName:
  Exclude:
    - 'Dangerfile'
    - '**/Gemfile'
    - '**/Rakefile'

# Disabled because of the very generic nature of Hashie. In the cases where we
# use double negation, there isn't a means that as succinct of doing the type of
# boolean casting that we do.
Style/DoubleNegation:
  Enabled: false