Skip to content

Commit fd4cc07

Browse files
committed
Make rubocop happy
1 parent 1a5677b commit fd4cc07

File tree

1 file changed

+7
-20
lines changed

1 file changed

+7
-20
lines changed

.rubocop_todo.yml

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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-17 16:23:58 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
@@ -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.
@@ -66,12 +59,13 @@ Lint/UnusedBlockArgument:
6659
Exclude:
6760
- 'lib/meilisearch-rails.rb'
6861

69-
# Offense count: 2
62+
# Offense count: 3
7063
# This cop supports safe auto-correction (--auto-correct).
7164
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods.
7265
Lint/UnusedMethodArgument:
7366
Exclude:
7467
- 'lib/meilisearch-rails.rb'
68+
- 'lib/meilisearch/rails/configuration.rb'
7569

7670
# Offense count: 13
7771
# Configuration parameters: IgnoredMethods, CountRepeatedAttributes.
@@ -102,7 +96,7 @@ Metrics/MethodLength:
10296
# Offense count: 1
10397
# Configuration parameters: CountComments, CountAsOne.
10498
Metrics/ModuleLength:
105-
Max: 437
99+
Max: 438
106100

107101
# Offense count: 8
108102
# Configuration parameters: IgnoredMethods.
@@ -146,7 +140,7 @@ RSpec/ContextWording:
146140
- 'spec/options_spec.rb'
147141
- 'spec/system/tech_shop_spec.rb'
148142

149-
# Offense count: 57
143+
# Offense count: 62
150144
# Configuration parameters: CountAsOne.
151145
RSpec/ExampleLength:
152146
Max: 16
@@ -174,7 +168,7 @@ RSpec/MultipleDescribes:
174168
Exclude:
175169
- 'spec/search_spec.rb'
176170

177-
# Offense count: 2
171+
# Offense count: 3
178172
RSpec/NestedGroups:
179173
Max: 4
180174

@@ -184,13 +178,6 @@ RSpec/VerifiedDoubles:
184178
Exclude:
185179
- 'spec/configuration_spec.rb'
186180

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-
194181
# Offense count: 2
195182
# This cop supports safe auto-correction (--auto-correct).
196183
# Configuration parameters: EnforcedStyle.
@@ -247,7 +234,7 @@ Style/StringLiterals:
247234
Exclude:
248235
- 'spec/ms_clean_up_job_spec.rb'
249236

250-
# Offense count: 15
237+
# Offense count: 16
251238
# This cop supports safe auto-correction (--auto-correct).
252239
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
253240
# URISchemes: http, https

0 commit comments

Comments
 (0)