summaryrefslogtreecommitdiff
path: root/.rubocop.yml
blob: 9110dda6465515d512d99d954ab439bcd6211596 (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
38
39
40
41
42
AllCops:
  Exclude:
    - 'vendor/**/*'
    - '.git/**/*'
    - 'slackbuilds/**/*'
    - 'bin/bundle'
    - 'bin/cap*'
    - 'bin/rake'
    - 'bin/rspec'
    - 'bin/rubocop'
    - 'bin/setup'
    - 'bin/spring'
    - 'bin/update'
    - 'pkg/**/*'

  TargetRubyVersion: '3.0'
  NewCops: enable

Style/Documentation:
  Enabled: false

# False-Positive: non-string-variable + 'some string'
Style/StringConcatenation:
  Enabled: false

Layout/MultilineMethodCallIndentation:
  EnforcedStyle: indented

Layout/MultilineOperationIndentation:
  EnforcedStyle: indented

Layout/ArgumentAlignment:
  EnforcedStyle: with_fixed_indentation

Layout/EndAlignment:
  EnforcedStyleAlignWith: variable

Metrics/BlockLength:
  Max: 55
  IgnoredMethods:
  - describe
  - refine