-
Notifications
You must be signed in to change notification settings - Fork 2
/
.rubocop_todo.yml
206 lines (181 loc) · 6.13 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
195
196
197
198
199
200
201
202
203
204
205
206
# This configuration was generated by
# `rubocop --auto-gen-config --exclude-limit 10000000`
# on 2024-02-09 15:03:07 UTC using RuboCop version 1.60.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
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include.
# Include: **/*.gemfile, **/Gemfile, **/gems.rb
Bundler/OrderedGems:
Exclude:
- 'Gemfile'
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
Layout/EmptyLineAfterGuardClause:
Exclude:
- 'lib/loga/formatters/gelf_formatter.rb'
# Offense count: 34
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle.
# SupportedHashRocketStyles: key, separator, table
# SupportedColonStyles: key, separator, table
# SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit
Layout/HashAlignment:
Exclude:
- 'lib/loga/configuration.rb'
- 'lib/loga/formatters/gelf_formatter.rb'
- 'lib/loga/rack/logger.rb'
- 'lib/loga/railtie.rb'
- 'lib/loga/sidekiq6/job_logger.rb'
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowDoxygenCommentStyle, AllowGemfileRubyComment.
Layout/LeadingCommentSpace:
Exclude:
- 'lib/loga/railtie.rb'
# Offense count: 2
# Configuration parameters: AllowComments, AllowEmptyLambdas.
Lint/EmptyBlock:
Exclude:
- 'Appraisals'
- 'spec/integration/sinatra_spec.rb'
# Offense count: 1
# Configuration parameters: AllowedParentClasses.
Lint/MissingSuper:
Exclude:
- 'lib/loga/formatters/gelf_formatter.rb'
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
Lint/RedundantCopDisableDirective:
Exclude:
- 'lib/loga/railtie.rb'
# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
Lint/SendWithMixinArgument:
Exclude:
- 'lib/loga/railtie.rb'
# Offense count: 1
# Configuration parameters: AllowedMethods, AllowedPatterns.
Metrics/CyclomaticComplexity:
Max: 8
# Offense count: 1
# Configuration parameters: AllowedMethods, AllowedPatterns.
Metrics/PerceivedComplexity:
Max: 9
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
Migration/DepartmentName:
Exclude:
- 'lib/loga/railtie.rb'
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: PreferredName.
Naming/RescuedExceptionsVariableName:
Exclude:
- 'lib/loga/sidekiq5/job_logger.rb'
# Offense count: 3
# Configuration parameters: Prefixes, AllowedPatterns.
# Prefixes: when, with, without
RSpec/ContextWording:
Exclude:
- 'spec/support/gethostname_shared.rb'
- 'spec/support/timecop_shared.rb'
- 'spec/unit/loga/configuration_spec.rb'
# Offense count: 41
# Configuration parameters: AllowSubject.
RSpec/MultipleMemoizedHelpers:
Max: 12
# Offense count: 6
# Configuration parameters: AllowedPatterns.
# AllowedPatterns: ^expect_, ^assert_
RSpec/NoExpectationExample:
Exclude:
- 'spec/integration/sidekiq60_spec.rb'
- 'spec/integration/sidekiq61_spec.rb'
- 'spec/integration/sidekiq65_spec.rb'
- 'spec/integration/sidekiq7_spec.rb'
# Offense count: 2
# Configuration parameters: Include, CustomTransform, IgnoreMethods, IgnoreMetadata.
# Include: **/*_spec.rb
RSpec/SpecFilePathFormat:
Exclude:
- '**/spec/routing/**/*'
- 'spec/integration/rails/action_mailer_spec.rb'
- 'spec/integration/rails/railtie_spec.rb'
# Offense count: 1
RSpec/SubjectDeclaration:
Exclude:
- 'spec/unit/loga/event_spec.rb'
# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: AllowedReceivers.
Style/CollectionCompact:
Exclude:
- 'lib/loga/configuration.rb'
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: Keywords, RequireColon.
# Keywords: TODO, FIXME, OPTIMIZE, HACK, REVIEW, NOTE
Style/CommentAnnotation:
Exclude:
- 'lib/loga/configuration.rb'
# Offense count: 25
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: always, always_true, never
Style/FrozenStringLiteralComment:
Exclude:
- 'Appraisals'
- 'Gemfile'
- 'Guardfile'
- 'Rakefile'
- 'lib/loga.rb'
- 'lib/loga/configuration.rb'
- 'lib/loga/event.rb'
- 'lib/loga/ext/core/tempfile.rb'
- 'lib/loga/ext/rails/rack/debug_exceptions.rb'
- 'lib/loga/ext/rails/rack/logger.rb'
- 'lib/loga/ext/rails/rack/logger3.rb'
- 'lib/loga/formatters/gelf_formatter.rb'
- 'lib/loga/formatters/simple_formatter.rb'
- 'lib/loga/log_subscribers/action_mailer.rb'
- 'lib/loga/parameter_filter.rb'
- 'lib/loga/rack/logger.rb'
- 'lib/loga/rack/request.rb'
- 'lib/loga/rack/request_id.rb'
- 'lib/loga/railtie.rb'
- 'lib/loga/service_version_strategies.rb'
- 'lib/loga/sidekiq5/job_logger.rb'
- 'lib/loga/sidekiq6/job_logger.rb'
- 'lib/loga/tagged_logging.rb'
- 'lib/loga/utilities.rb'
- 'lib/loga/version.rb'
# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
Style/GlobalStdStream:
Exclude:
- 'lib/loga/configuration.rb'
# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: literals, strict
Style/MutableConstant:
Exclude:
- 'lib/loga/rack/request.rb'
# Offense count: 2
Style/OpenStructUse:
Exclude:
- 'spec/unit/loga/formatters/gelf_formatter_spec.rb'
# Offense count: 3
# This cop supports safe autocorrection (--autocorrect).
Style/RedundantFileExtensionInRequire:
Exclude:
- 'lib/loga/railtie.rb'
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
Style/RedundantFreeze:
Exclude:
- 'lib/loga/sidekiq7/job_logger.rb'