aboutsummaryrefslogtreecommitdiff
path: root/.rubocop.yml
blob: 3d4067a553a093d8eb561d9f28b5c056ffde788c (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
require:
  - rubocop-performance
  - rubocop-rake

AllCops:
  TargetRubyVersion: 3.0

  NewCops: enable

  DisplayCopNames: true
  DisplayStyleGuide: false

  Exclude:
    - './_site/**/*'

Layout/HashAlignment:
  EnforcedHashRocketStyle: table
  EnforcedColonStyle: table

Metrics/AbcSize:
  Max: 30

Metrics/MethodLength:
  Max: 20

# This forces us to create a new object for no real reason.
Style/MultipleComparison:
  Enabled: false

# It's actually quite cool to spell my own name correctly...
Style/AsciiComments:
  Enabled: false