main
 1require:
 2  - rubocop-minitest
 3  - rubocop-rake
 4
 5AllCops:
 6  NewCops: enable
 7  TargetRubyVersion: 3.0
 8
 9Style/StringLiterals:
10  Enabled: true
11  EnforcedStyle: double_quotes
12
13Style/StringLiteralsInInterpolation:
14  Enabled: true
15  EnforcedStyle: double_quotes
16
17Layout/ArgumentAlignment:
18  EnforcedStyle: with_fixed_indentation
19
20Layout/ParameterAlignment:
21  Enabled: true
22  EnforcedStyle: with_fixed_indentation
23  IndentationWidth: 2
24
25Layout/EndOfLine:
26  EnforcedStyle: lf
27
28Layout/FirstArrayElementIndentation:
29  EnforcedStyle: consistent
30
31Layout/FirstHashElementIndentation:
32  EnforcedStyle: consistent
33
34Layout/MultilineMethodCallIndentation:
35  Enabled: true
36  EnforcedStyle: indented
37
38Lint/AmbiguousBlockAssociation:
39  Exclude:
40    - 'test/**/*.rb'
41
42Lint/RaiseException:
43  Enabled: true
44
45Lint/StructNewOverride:
46  Enabled: true
47
48Metrics/BlockLength:
49  Exclude:
50    - '*.gemspec'
51    - 'Rakefile'
52    - 'test/**/*.rb'
53
54Metrics/ModuleLength:
55  Exclude:
56    - 'test/**/*.rb'
57
58Layout/LineLength:
59  Exclude:
60    - 'test/**/*.rb'
61  IgnoredPatterns:
62    - '^#*'
63
64Naming/RescuedExceptionsVariableName:
65  PreferredName: boom
66
67Style/Documentation:
68  Enabled: false
69
70Style/HashEachMethods:
71  Enabled: true
72
73Style/HashTransformKeys:
74  Enabled: true
75
76Style/HashTransformValues:
77  Enabled: true
78
79Style/WordArray:
80  Enabled: false
81
82Style/TrailingCommaInArrayLiteral:
83  Enabled: false
84
85Style/TrailingCommaInHashLiteral:
86  Enabled: false