-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy path.rubocop.yml
More file actions
44 lines (37 loc) · 850 Bytes
/
.rubocop.yml
File metadata and controls
44 lines (37 loc) · 850 Bytes
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
plugins:
- rubocop-minitest
- rubocop-performance
- rubocop-rake
- rubocop-thread_safety
AllCops:
TargetRubyVersion: '3.2'
NewCops: enable
# Metrics are too arbitrary.
Metrics/AbcSize:
Enabled: false
Metrics/ClassLength:
Enabled: false
Layout/LineLength:
Enabled: false
Metrics/MethodLength:
Enabled: false
Naming/PredicateMethod:
AllowedMethods:
- main
# Weird.
Style/FormatStringToken:
Enabled: false
Style/NumericPredicate:
Enabled: false
# Trailing commas are good.
Style/TrailingCommaInArguments:
Enabled: false
Style/TrailingCommaInArrayLiteral:
Enabled: false
Style/TrailingCommaInHashLiteral:
Enabled: false
Gemspec/DevelopmentDependencies:
Enabled: false
# Sometimes it makes sense to have lots of assertions.
Minitest/MultipleAssertions:
Enabled: false