-
Notifications
You must be signed in to change notification settings - Fork 2
/
.rubocop.yml
131 lines (99 loc) · 2.24 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
---
require:
- rubocop-minitest
AllCops:
EnabledByDefault: true
TargetRubyVersion: 3.2.2
Exclude:
- "bin/**/*"
Naming/RescuedExceptionsVariableName:
Enabled: false
Layout/LineLength:
Max: 120
Layout/MultilineMethodCallIndentation:
Enabled: false
Layout/SpaceInLambdaLiteral:
Description: "Checks for spaces in lambda literals."
Enabled: false
EnforcedStyle: require_no_space
SupportedStyles:
- require_no_space
- require_space
Metrics/BlockLength:
Enabled: false
Lint/RedundantCopDisableDirective:
Enabled: false
Lint/AmbiguousBlockAssociation:
Enabled: false
Lint/ConstantResolution:
Enabled: false
Metrics/AbcSize:
Enabled: false
Metrics/MethodLength:
Enabled: false
Metrics/ClassLength:
Max: 150
Exclude:
- "test/**/*"
Metrics/ModuleLength:
Max: 150
Exclude:
- "test/**/*"
Metrics/PerceivedComplexity:
Max: 10
Style/MixinGrouping:
Enabled: false
Style/MethodCalledOnDoEndBlock:
Enabled: false
Style/SignalException:
Enabled: false
Style/AsciiComments:
Enabled: false
Style/AccessModifierDeclarations:
Enabled: false
Style/Documentation:
Enabled: false
Style/TopLevelMethodDefinition:
Enabled: false
Style/DocumentationMethod:
Enabled: false
Style/DisableCopsWithinSourceCodeDirective:
Enabled: false
Style/StringHashKeys:
Enabled: false
Style/MethodCallWithArgsParentheses:
Enabled: false
Style/NumberedParametersLimit:
Max: 3
Style/MissingElse:
Enabled: false
Style/MultilineBlockChain:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: true
SafeAutoCorrect: true
Style/LambdaCall:
Description: "Use lambda.call(...) instead of lambda.(...)."
StyleGuide: "#proc-call"
Enabled: false
VersionAdded: "0.13"
VersionChanged: "0.14"
EnforcedStyle: call
SupportedStyles:
- call
- braces
Style/Copyright:
Description: "Include a copyright notice in each file before any code."
Enabled: false
VersionAdded: "0.30"
Notice: '^Copyright (\(c\) )?2[0-9]{3} .+'
AutocorrectNotice: ""
Style/Lambda:
Description: "Use the new lambda literal syntax for single-line blocks."
StyleGuide: "#lambda-multi-line"
Enabled: false
EnforcedStyle: line_count_dependent
SupportedStyles:
- line_count_dependent
- lambda
- literal