-
Notifications
You must be signed in to change notification settings - Fork 13
/
.rubocop.yml
54 lines (54 loc) · 1.08 KB
/
.rubocop.yml
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
45
46
47
48
49
50
51
52
53
54
require:
- rubocop-performance
AllCops:
TargetRubyVersion: "3.0"
NewCops: enable
Exclude:
- .git/**/*
- spec/**/*
- vendor/**/*
Gemspec/RequireMFA:
Enabled: false
Layout/LineLength:
Enabled: false
Layout/SpaceAroundEqualsInParameterDefault:
EnforcedStyle: no_space
Lint/AmbiguousOperatorPrecedence:
Enabled: false
Lint/EmptyWhen:
Enabled: false
Lint/Void:
Enabled: false
Metrics/AbcSize:
Max: 20
Metrics/ClassLength:
Max: 200
Metrics/MethodLength:
Max: 20
Metrics/ParameterLists:
MaxOptionalParameters: 4
Style/AccessModifierDeclarations:
Enabled: false
Style/AsciiComments:
Enabled: false
Style/Documentation:
# Too many false positives!
Enabled: false
Style/Encoding:
Enabled: false
Style/EvalWithLocation:
Enabled: false
Style/FormatString:
EnforcedStyle: percent
Style/FormatStringToken:
MaxUnannotatedPlaceholdersAllowed: 3
Style/PerlBackrefs:
Enabled: false
Style/RedundantSelf:
Enabled: false
Style/StructInheritance:
Enabled: false
Style/TrailingCommaInArrayLiteral:
Enabled: false
Style/TrailingCommaInHashLiteral:
Enabled: false