11# This configuration was generated by
22# `rubocop --auto-gen-config`
3- # on 2025-05-04 16:11:52 UTC using RuboCop version 1.66 .1.
3+ # on 2025-10-02 12:37:09 UTC using RuboCop version 1.81 .1.
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: EnforcedStyle.
11- # SupportedStyles: link_or_button, strict
12- Capybara/ClickLinkOrButtonStyle :
13- Exclude :
14- - ' spec/integration/update_cc_spec.rb'
15-
169# Offense count: 3
1710Capybara/SpecificActions :
1811 Exclude :
@@ -34,12 +27,18 @@ Lint/NonLocalExitFromIterator:
3427
3528# Offense count: 1
3629# This cop supports unsafe autocorrection (--autocorrect-all).
37- # Configuration parameters: AllowedMethods.
30+ # Configuration parameters: AllowedMethods, InferNonNilReceiver, AdditionalNilMethods .
3831# AllowedMethods: instance_of?, kind_of?, is_a?, eql?, respond_to?, equal?
32+ # AdditionalNilMethods: present?, blank?, try, try!
3933Lint/RedundantSafeNavigation :
4034 Exclude :
4135 - ' slack-sup/models/user.rb'
4236
37+ # Offense count: 2
38+ Lint/UselessConstantScoping :
39+ Exclude :
40+ - ' slack-sup/models/team.rb'
41+
4342# Offense count: 1
4443# Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, CheckDefinitionPathHierarchyRoots, Regex, IgnoreExecutableScripts, AllowedAcronyms.
4544# CheckDefinitionPathHierarchyRoots: lib, spec, test, src
@@ -80,7 +79,7 @@ Naming/MethodParameterName:
8079# Offense count: 6
8180# Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers, AllowedPatterns.
8281# SupportedStyles: snake_case, normalcase, non_integer
83- # AllowedIdentifiers: capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339, x86_64
82+ # AllowedIdentifiers: TLS1_1, TLS1_2, capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339, x86_64
8483Naming/VariableNumber :
8584 Exclude :
8685 - ' spec/api/endpoints/rounds_endpoint_spec.rb'
@@ -125,7 +124,7 @@ RSpec/ExpectInHook:
125124 - ' spec/slack-sup/commands/subscription_spec.rb'
126125 - ' spec/slack-sup/commands/unsubscribe_spec.rb'
127126
128- # Offense count: 60
127+ # Offense count: 61
129128# Configuration parameters: Max, AllowedIdentifiers, AllowedPatterns.
130129RSpec/IndexedLet :
131130 Exclude :
@@ -150,7 +149,7 @@ RSpec/InstanceVariable:
150149 - ' spec/support/api/endpoints/it_behaves_like_a_cursor_api.rb'
151150 - ' spec/support/api/endpoints/it_behaves_like_a_team_token_api.rb'
152151
153- # Offense count: 47
152+ # Offense count: 48
154153RSpec/LetSetup :
155154 Exclude :
156155 - ' spec/api/endpoints/stats_endpoint_spec.rb'
@@ -205,8 +204,7 @@ RSpec/RepeatedDescription:
205204 - ' spec/slack-sup/commands/set_spec.rb'
206205
207206# Offense count: 22
208- # Configuration parameters: Include, CustomTransform, IgnoreMethods, IgnoreMetadata.
209- # Include: **/*_spec.rb
207+ # Configuration parameters: CustomTransform, IgnoreMethods, IgnoreMetadata.
210208RSpec/SpecFilePathFormat :
211209 Enabled : false
212210
@@ -237,6 +235,15 @@ RSpec/VoidExpect:
237235 - ' spec/integration/homepage_spec.rb'
238236 - ' spec/models/round_spec.rb'
239237
238+ # Offense count: 5
239+ # This cop supports unsafe autocorrection (--autocorrect-all).
240+ Style/CollectionQuerying :
241+ Exclude :
242+ - ' slack-sup/api/helpers/error_helpers.rb'
243+ - ' slack-sup/api/helpers/sort_helpers.rb'
244+ - ' slack-sup/commands/admins.rb'
245+ - ' slack-sup/models/round.rb'
246+
240247# Offense count: 2
241248# This cop supports unsafe autocorrection (--autocorrect-all).
242249Style/GlobalStdStream :
@@ -289,13 +296,7 @@ Style/MultilineWhenThen:
289296 - ' slack-sup/commands/opt.rb'
290297 - ' slack-sup/commands/set.rb'
291298
292- # Offense count: 1
293- # This cop supports safe autocorrection (--autocorrect).
294- Style/NestedTernaryOperator :
295- Exclude :
296- - ' slack-sup/models/team.rb'
297-
298- # Offense count: 11
299+ # Offense count: 12
299300# This cop supports unsafe autocorrection (--autocorrect-all).
300301# Configuration parameters: EnforcedStyle, AllowedMethods, AllowedPatterns.
301302# SupportedStyles: predicate, comparison
0 commit comments