File: .rubocop.yml

package info (click to toggle)
ruby-hashie 5.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 884 kB
  • sloc: ruby: 7,049; sh: 8; makefile: 6
file content (45 lines) | stat: -rw-r--r-- 885 bytes parent folder | download | duplicates (2)
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
41
42
43
44
45
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/ClassLength:
  Enabled: false

Metrics/ModuleLength:
  Enabled: false

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

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

Lint/UnifiedInteger:
  Exclude:
    - 'lib/hashie/extensions/coercion.rb'
    - 'spec/hashie/extensions/coercion_spec.rb'

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