-
Notifications
You must be signed in to change notification settings - Fork 6
/
.rubocop_todo.yml
194 lines (168 loc) · 4.82 KB
/
.rubocop_todo.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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2016-02-21 10:22:15 -0800 using RuboCop version 0.37.2.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
# Offense count: 5
# Configuration parameters: AllowSafeAssignment.
Lint/AssignmentInCondition:
Exclude:
- 'lib/gerrit/configuration.rb'
- 'lib/gerrit/repo.rb'
- 'lib/gerrit/ui.rb'
# Offense count: 1
# Cop supports --auto-correct.
Lint/Debugger:
Exclude:
- 'lib/gerrit/command/console.rb'
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods.
Lint/UnusedMethodArgument:
Exclude:
- 'lib/gerrit/command/setup.rb'
- 'lib/gerrit/repo.rb'
# Offense count: 1
Lint/UselessAssignment:
Exclude:
- 'lib/gerrit/command/base.rb'
# Offense count: 11
Metrics/AbcSize:
Max: 40
# Offense count: 1
# Configuration parameters: CountComments.
Metrics/ClassLength:
Max: 126
# Offense count: 1
Metrics/CyclomaticComplexity:
Max: 8
# Offense count: 17
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes.
# URISchemes: http, https
Metrics/LineLength:
Max: 95
# Offense count: 18
# Configuration parameters: CountComments.
Metrics/MethodLength:
Max: 29
# Offense count: 1
# Configuration parameters: CountKeywordArgs.
Metrics/ParameterLists:
Max: 6
# Offense count: 1
Metrics/PerceivedComplexity:
Max: 9
# Offense count: 3
# Cop supports --auto-correct.
Performance/RedundantBlockCall:
Exclude:
- 'lib/gerrit/ui.rb'
- 'lib/gerrit/utils.rb'
# Offense count: 1
# Cop supports --auto-correct.
Performance/ReverseEach:
Exclude:
- 'lib/gerrit/command/list.rb'
# Offense count: 14
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: nested, compact
Style/ClassAndModuleChildren:
Exclude:
- 'lib/gerrit/command/base.rb'
- 'lib/gerrit/command/checkout.rb'
- 'lib/gerrit/command/clone.rb'
- 'lib/gerrit/command/console.rb'
- 'lib/gerrit/command/groups.rb'
- 'lib/gerrit/command/help.rb'
- 'lib/gerrit/command/list.rb'
- 'lib/gerrit/command/members.rb'
- 'lib/gerrit/command/projects.rb'
- 'lib/gerrit/command/push.rb'
- 'lib/gerrit/command/setup.rb'
- 'lib/gerrit/command/submit.rb'
- 'lib/gerrit/command/version.rb'
- 'lib/gerrit/errors.rb'
# Offense count: 1
# Configuration parameters: MinBodyLength.
Style/GuardClause:
Exclude:
- 'lib/gerrit/ui.rb'
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: MaxLineLength.
Style/IfUnlessModifier:
Exclude:
- 'lib/gerrit/command/checkout.rb'
- 'lib/gerrit/command/setup.rb'
# Offense count: 1
Style/MultilineBlockChain:
Exclude:
- 'lib/gerrit/command/list.rb'
# Offense count: 5
# Cop supports --auto-correct.
Style/MutableConstant:
Exclude:
- 'lib/gerrit/configuration.rb'
- 'lib/gerrit/constants.rb'
- 'lib/gerrit/version.rb'
# Offense count: 19
# Cop supports --auto-correct.
# Configuration parameters: PreferredDelimiters.
Style/PercentLiteralDelimiters:
Exclude:
- 'lib/gerrit/cli.rb'
- 'lib/gerrit/client.rb'
- 'lib/gerrit/command/checkout.rb'
- 'lib/gerrit/command/clone.rb'
- 'lib/gerrit/command/list.rb'
- 'lib/gerrit/command/members.rb'
- 'lib/gerrit/command/projects.rb'
- 'lib/gerrit/command/push.rb'
- 'lib/gerrit/command/submit.rb'
- 'lib/gerrit/subprocess.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerSlashes.
# SupportedStyles: slashes, percent_r, mixed
Style/RegexpLiteral:
Exclude:
- 'lib/gerrit/repo.rb'
# Offense count: 3
# Cop supports --auto-correct.
Style/SpaceAfterComma:
Exclude:
- 'lib/gerrit/command/list.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: space, no_space
Style/SpaceBeforeBlockBraces:
Enabled: false
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: IgnoredMethods.
# IgnoredMethods: respond_to
Style/SymbolProc:
Exclude:
- 'lib/gerrit/utils.rb'
# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyleForMultiline, SupportedStyles.
# SupportedStyles: comma, consistent_comma, no_comma
Style/TrailingCommaInLiteral:
Exclude:
- 'lib/gerrit/command/clone.rb'
- 'lib/gerrit/command/list.rb'
- 'lib/gerrit/command/setup.rb'
# Offense count: 1
# Cop supports --auto-correct.
Style/UnneededCapitalW:
Exclude:
- 'lib/gerrit/client.rb'
# Offense count: 1
# Cop supports --auto-correct.
Style/UnneededInterpolation:
Exclude:
- 'lib/gerrit/command/submit.rb'