summaryrefslogtreecommitdiff
path: root/.rubocop.yml
blob: 059ac2381e7dcb6bb0fd036cf1a5f85ecb88e782 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
AllCops:
  TargetRubyVersion: 2.5
  Exclude:
    - "spec/data/**/*"
    - "vendor/**/*"
    - "pkg/**/*"

# these have shellout examples that need to have the tabs that come with the shellout
Layout/Tab:
  Exclude:
    - "lib/ohai/plugins/mono.rb"
    - "lib/ohai/plugins/darwin/hardware.rb"

# this can cause failures that we need to look at one by one
Performance/RegexpMatch:
  Enabled: false