Skip to content

Commit 7221105

Browse files
committed
Make rubocop happy
1 parent c548f24 commit 7221105

File tree

1 file changed

+9
-23
lines changed

1 file changed

+9
-23
lines changed

.rubocop_todo.yml

Lines changed: 9 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# This configuration was generated by
22
# `rubocop --auto-gen-config`
3-
# on 2025-03-08 11:51:39 UTC using RuboCop version 1.27.0.
3+
# on 2025-03-18 21:17:38 UTC using RuboCop version 1.27.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: 1
9+
# Offense count: 2
1010
# This cop supports safe auto-correction (--auto-correct).
1111
# Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include.
1212
# Include: **/*.gemfile, **/Gemfile, **/gems.rb
@@ -30,13 +30,6 @@ Layout/EmptyLinesAroundModuleBody:
3030
Exclude:
3131
- 'lib/meilisearch-rails.rb'
3232

33-
# Offense count: 2
34-
# This cop supports safe auto-correction (--auto-correct).
35-
# Configuration parameters: IndentationWidth.
36-
# SupportedStyles: special_inside_parentheses, consistent, align_brackets
37-
Layout/FirstArrayElementIndentation:
38-
EnforcedStyle: consistent
39-
4033
# Offense count: 1
4134
# This cop supports safe auto-correction (--auto-correct).
4235
# Configuration parameters: EnforcedStyle.
@@ -76,7 +69,7 @@ Lint/UnusedMethodArgument:
7669
# Offense count: 13
7770
# Configuration parameters: IgnoredMethods, CountRepeatedAttributes.
7871
Metrics/AbcSize:
79-
Max: 105
72+
Max: 108
8073

8174
# Offense count: 1
8275
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
@@ -92,7 +85,7 @@ Metrics/ClassLength:
9285
# Offense count: 9
9386
# Configuration parameters: IgnoredMethods.
9487
Metrics/CyclomaticComplexity:
95-
Max: 28
88+
Max: 29
9689

9790
# Offense count: 20
9891
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
@@ -102,12 +95,12 @@ Metrics/MethodLength:
10295
# Offense count: 1
10396
# Configuration parameters: CountComments, CountAsOne.
10497
Metrics/ModuleLength:
105-
Max: 437
98+
Max: 439
10699

107100
# Offense count: 8
108101
# Configuration parameters: IgnoredMethods.
109102
Metrics/PerceivedComplexity:
110-
Max: 35
103+
Max: 36
111104

112105
# Offense count: 1
113106
Naming/AccessorMethodName:
@@ -146,7 +139,7 @@ RSpec/ContextWording:
146139
- 'spec/options_spec.rb'
147140
- 'spec/system/tech_shop_spec.rb'
148141

149-
# Offense count: 57
142+
# Offense count: 61
150143
# Configuration parameters: CountAsOne.
151144
RSpec/ExampleLength:
152145
Max: 16
@@ -174,7 +167,7 @@ RSpec/MultipleDescribes:
174167
Exclude:
175168
- 'spec/search_spec.rb'
176169

177-
# Offense count: 2
170+
# Offense count: 3
178171
RSpec/NestedGroups:
179172
Max: 4
180173

@@ -184,13 +177,6 @@ RSpec/VerifiedDoubles:
184177
Exclude:
185178
- 'spec/configuration_spec.rb'
186179

187-
# Offense count: 1
188-
# Configuration parameters: ForbiddenMethods, AllowedMethods.
189-
# ForbiddenMethods: decrement!, decrement_counter, increment!, increment_counter, insert, insert!, insert_all, insert_all!, toggle!, touch, touch_all, update_all, update_attribute, update_column, update_columns, update_counters, upsert, upsert_all
190-
Rails/SkipsModelValidations:
191-
Exclude:
192-
- 'spec/settings_spec.rb'
193-
194180
# Offense count: 2
195181
# This cop supports safe auto-correction (--auto-correct).
196182
# Configuration parameters: EnforcedStyle.
@@ -247,7 +233,7 @@ Style/StringLiterals:
247233
Exclude:
248234
- 'spec/ms_clean_up_job_spec.rb'
249235

250-
# Offense count: 15
236+
# Offense count: 16
251237
# This cop supports safe auto-correction (--auto-correct).
252238
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
253239
# URISchemes: http, https

0 commit comments

Comments
 (0)