11# This configuration was generated by
2- # `rubocop --auto-gen-config --auto-gen-only-exclude --exclude-limit 100 `
3- # on 2019-08-01 15:06:19 -0700 using RuboCop version 0.73.0.
2+ # `rubocop --auto-gen-config --auto-gen-only-exclude --exclude-limit 1000 `
3+ # on 2019-08-20 22:22:29 -0700 using RuboCop version 0.73.0.
44# The point is for the user to remove these configuration records
55# one by one as the offenses are removed from the code base.
66# Note that changes in the inspected code, or installation of new
77# versions of RuboCop, may require this file to be generated again.
88
9- # Offense count: 2
10- # Configuration parameters: AllowSafeAssignment.
11- Lint/AssignmentInCondition :
12- Exclude :
13- - ' lib/slack/real_time/concurrency/async.rb'
14- - ' lib/slack/real_time/socket.rb'
15-
169# Offense count: 5
1710# Configuration parameters: AllowComments.
1811Lint/HandleExceptions :
1912 Exclude :
20- - ' lib/slack-ruby-client.rb'
2113 - ' lib/slack/real_time/concurrency/async.rb'
14+ - ' lib/slack_ruby_client.rb'
2215 - ' spec/slack/real_time/concurrency/celluloid_spec.rb'
2316 - ' spec/slack/real_time/concurrency/eventmachine_spec.rb'
2417
@@ -63,20 +56,6 @@ Metrics/PerceivedComplexity:
6356 Exclude :
6457 - ' lib/slack/web/faraday/connection.rb'
6558
66- # Offense count: 1
67- # Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts, AllowedAcronyms.
68- # AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
69- Naming/FileName :
70- Exclude :
71- - ' lib/slack-ruby-client.rb'
72-
73- # Offense count: 1
74- # Configuration parameters: EnforcedStyleForLeadingUnderscores.
75- # SupportedStylesForLeadingUnderscores: disallowed, required, optional
76- Naming/MemoizedInstanceVariableName :
77- Exclude :
78- - ' lib/slack/logger.rb'
79-
8059# Offense count: 1
8160RSpec/AnyInstance :
8261 Exclude :
@@ -113,29 +92,6 @@ RSpec/ContextWording:
11392 - ' spec/slack/web/client_spec.rb'
11493 - ' spec/support/real_time/connected_client.rb'
11594
116- # Offense count: 1
117- RSpec/DescribeClass :
118- Exclude :
119- - ' spec/integration/integration_spec.rb'
120-
121- # Offense count: 5
122- # Cop supports --auto-correct.
123- RSpec/EmptyLineAfterExampleGroup :
124- Exclude :
125- - ' spec/slack/web/api/endpoints/custom_specs/auth_spec.rb'
126- - ' spec/slack/web/api/endpoints/custom_specs/chat_spec.rb'
127-
128- # Offense count: 8
129- # Cop supports --auto-correct.
130- RSpec/EmptyLineAfterFinalLet :
131- Exclude :
132- - ' spec/slack/web/api/endpoints/custom_specs/auth_spec.rb'
133- - ' spec/slack/web/api/endpoints/custom_specs/channels_spec.rb'
134- - ' spec/slack/web/api/endpoints/custom_specs/chat_spec.rb'
135- - ' spec/slack/web/api/endpoints/custom_specs/dialog_spec.rb'
136- - ' spec/slack/web/api/endpoints/custom_specs/groups_spec.rb'
137- - ' spec/slack/web/api/endpoints/custom_specs/users_spec.rb'
138-
13995# Offense count: 63
14096# Configuration parameters: Max.
14197RSpec/ExampleLength :
@@ -161,11 +117,6 @@ RSpec/ExampleLength:
161117 - ' spec/slack/web/client_spec.rb'
162118 - ' spec/slack/web/faraday/response/raise_error_spec.rb'
163119
164- # Offense count: 2
165- RSpec/ExpectInHook :
166- Exclude :
167- - ' spec/slack/real_time/client_spec.rb'
168-
169120# Offense count: 16
170121# Configuration parameters: CustomTransform, IgnoreMethods.
171122RSpec/FilePath :
@@ -187,14 +138,6 @@ RSpec/FilePath:
187138 - ' spec/slack/web/api/endpoints/custom_specs/users_spec.rb'
188139 - ' spec/slack/web/api/errors/service_unavailable_spec.rb'
189140
190- # Offense count: 1
191- # Cop supports --auto-correct.
192- # Configuration parameters: EnforcedStyle.
193- # SupportedStyles: implicit, each, example
194- RSpec/HookArgument :
195- Exclude :
196- - ' spec/slack/web/api/endpoints/custom_specs/chat_spec.rb'
197-
198141# Offense count: 13
199142# Configuration parameters: AssignmentOnly.
200143RSpec/InstanceVariable :
@@ -203,7 +146,7 @@ RSpec/InstanceVariable:
203146 - ' spec/slack/real_time/client_spec.rb'
204147 - ' spec/slack/slack_spec.rb'
205148
206- # Offense count: 68
149+ # Offense count: 66
207150# Configuration parameters: .
208151# SupportedStyles: have_received, receive
209152RSpec/MessageSpies :
@@ -238,17 +181,6 @@ RSpec/MultipleExpectations:
238181 - ' spec/slack/web/api/pagination/cursor_spec.rb'
239182 - ' spec/slack/web/client_spec.rb'
240183
241- # Offense count: 53
242- # Configuration parameters: IgnoreSharedExamples.
243- RSpec/NamedSubject :
244- Exclude :
245- - ' spec/slack/events/request_spec.rb'
246- - ' spec/slack/messages/formatting_spec.rb'
247- - ' spec/slack/web/api/mixins/channels_spec.rb'
248- - ' spec/slack/web/api/mixins/groups_spec.rb'
249- - ' spec/slack/web/api/mixins/users_spec.rb'
250- - ' spec/slack/web/faraday/response/raise_error_spec.rb'
251-
252184# Offense count: 32
253185# Configuration parameters: Max.
254186RSpec/NestedGroups :
@@ -257,31 +189,6 @@ RSpec/NestedGroups:
257189 - ' spec/slack/web/api/pagination/cursor_spec.rb'
258190 - ' spec/slack/web/client_spec.rb'
259191
260- # Offense count: 15
261- # Cop supports --auto-correct.
262- # Configuration parameters: EnforcedStyle.
263- # SupportedStyles: not_to, to_not
264- RSpec/NotToNot :
265- Exclude :
266- - ' spec/slack/web/api/endpoints/custom_specs/auth_spec.rb'
267- - ' spec/slack/web/api/endpoints/custom_specs/chat_spec.rb'
268- - ' spec/slack/web/api/endpoints/custom_specs/dialog_spec.rb'
269-
270- # Offense count: 2
271- RSpec/RepeatedDescription :
272- Exclude :
273- - ' spec/slack/web/api/endpoints/custom_specs/users_spec.rb'
274-
275- # Offense count: 2
276- RSpec/ScatteredLet :
277- Exclude :
278- - ' spec/integration/integration_spec.rb'
279-
280- # Offense count: 4
281- RSpec/ScatteredSetup :
282- Exclude :
283- - ' spec/integration/integration_spec.rb'
284-
285192# Offense count: 3
286193RSpec/SubjectStub :
287194 Exclude :
@@ -299,60 +206,3 @@ RSpec/VerifiedDoubles:
299206 - ' spec/slack/real_time/concurrency/eventmachine_spec.rb'
300207 - ' spec/slack/web/faraday/response/raise_error_spec.rb'
301208 - ' spec/support/real_time/connected_client.rb'
302-
303- # Offense count: 1
304- Security/Open :
305- Exclude :
306- - ' lib/slack/real_time/client.rb'
307-
308- # Offense count: 2
309- # Configuration parameters: EnforcedStyle.
310- # SupportedStyles: inline, group
311- Style/AccessModifierDeclarations :
312- Exclude :
313- - ' lib/slack/real_time/concurrency/eventmachine.rb'
314- - ' lib/slack/real_time/socket.rb'
315-
316- # Offense count: 6
317- # Cop supports --auto-correct.
318- # Configuration parameters: EnforcedStyle.
319- # SupportedStyles: always, never
320- Style/FrozenStringLiteralComment :
321- Exclude :
322- - ' spec/slack/web/api/endpoints/custom_specs/auth_spec.rb'
323- - ' spec/slack/web/api/endpoints/custom_specs/channels_spec.rb'
324- - ' spec/slack/web/api/endpoints/custom_specs/chat_spec.rb'
325- - ' spec/slack/web/api/endpoints/custom_specs/dialog_spec.rb'
326- - ' spec/slack/web/api/endpoints/custom_specs/groups_spec.rb'
327- - ' spec/slack/web/api/endpoints/custom_specs/users_spec.rb'
328-
329- # Offense count: 2
330- # Configuration parameters: MinBodyLength.
331- Style/GuardClause :
332- Exclude :
333- - ' lib/slack/real_time/socket.rb'
334- - ' lib/slack/web/faraday/response/raise_error.rb'
335-
336- # Offense count: 3
337- # Cop supports --auto-correct.
338- # Configuration parameters: EnforcedStyle, Autocorrect.
339- # SupportedStyles: module_function, extend_self
340- Style/ModuleFunction :
341- Exclude :
342- - ' lib/slack/config.rb'
343- - ' lib/slack/events/config.rb'
344- - ' lib/slack/web/config.rb'
345-
346- # Offense count: 1
347- Style/MultilineTernaryOperator :
348- Exclude :
349- - ' spec/support/real_time/connected_client.rb'
350-
351- # Offense count: 1
352- # Cop supports --auto-correct.
353- # Configuration parameters: AutoCorrect, EnforcedStyle, IgnoredMethods.
354- # SupportedStyles: predicate, comparison
355- Style/NumericPredicate :
356- Exclude :
357- - ' spec/**/*'
358- - ' lib/slack/real_time/client.rb'
0 commit comments