Skip to content

Commit c2ddbab

Browse files
committed
Make rubocop happy
1 parent d4080ed commit c2ddbab

File tree

1 file changed

+8
-22
lines changed

1 file changed

+8
-22
lines changed

.rubocop_todo.yml

Lines changed: 8 additions & 22 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-19 14:36:21 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.
@@ -73,7 +66,7 @@ Lint/UnusedMethodArgument:
7366
Exclude:
7467
- 'lib/meilisearch-rails.rb'
7568

76-
# Offense count: 13
69+
# Offense count: 15
7770
# Configuration parameters: IgnoredMethods, CountRepeatedAttributes.
7871
Metrics/AbcSize:
7972
Max: 105
@@ -89,12 +82,12 @@ Metrics/BlockLength:
8982
Metrics/ClassLength:
9083
Max: 171
9184

92-
# Offense count: 9
85+
# Offense count: 11
9386
# Configuration parameters: IgnoredMethods.
9487
Metrics/CyclomaticComplexity:
9588
Max: 28
9689

97-
# Offense count: 20
90+
# Offense count: 23
9891
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
9992
Metrics/MethodLength:
10093
Max: 102
@@ -104,7 +97,7 @@ Metrics/MethodLength:
10497
Metrics/ModuleLength:
10598
Max: 437
10699

107-
# Offense count: 8
100+
# Offense count: 9
108101
# Configuration parameters: IgnoredMethods.
109102
Metrics/PerceivedComplexity:
110103
Max: 35
@@ -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: 72
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: 20
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)