1
1
# This configuration was generated by
2
2
# `rubocop --auto-gen-config --auto-gen-only-exclude --exclude-limit 400`
3
- # on 2024 -03-23 21:41:23 UTC using RuboCop version 1.62.1 .
3
+ # on 2025 -03-17 18:44:59 UTC using RuboCop version 1.74.0 .
4
4
# The point is for the user to remove these configuration records
5
5
# one by one as the offenses are removed from the code base.
6
6
# Note that changes in the inspected code, or installation of new
7
7
# versions of RuboCop, may require this file to be generated again.
8
8
9
+ # Offense count: 3
10
+ Capybara/NegationMatcherAfterVisit :
11
+ Exclude :
12
+ - ' spec/system/account_setup_spec.rb'
13
+ - ' spec/system/stories_index_spec.rb'
14
+
9
15
# Offense count: 6
10
16
# This cop supports safe autocorrection (--autocorrect).
11
17
# Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle.
@@ -18,18 +24,6 @@ Layout/HashAlignment:
18
24
- ' db/migrate/20240314031221_create_good_job_labels_index.rb'
19
25
- ' db/migrate/20240314031223_create_index_good_job_jobs_for_candidate_lookup.rb'
20
26
21
- # Offense count: 28
22
- # This cop supports safe autocorrection (--autocorrect).
23
- # Configuration parameters: Max, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
24
- # URISchemes: http, https
25
- Layout/LineLength :
26
- Exclude :
27
- - ' db/migrate/20230801025231_create_index_good_jobs_jobs_on_priority_created_at_when_unfinished.rb'
28
- - ' db/migrate/20240314031219_recreate_good_job_cron_indexes_with_conditional.rb'
29
- - ' db/migrate/20240314031221_create_good_job_labels_index.rb'
30
- - ' db/migrate/20240314031222_remove_good_job_active_id_index.rb'
31
- - ' db/migrate/20240314031223_create_index_good_job_jobs_for_candidate_lookup.rb'
32
-
33
27
# Offense count: 19
34
28
# This cop supports safe autocorrection (--autocorrect).
35
29
# Configuration parameters: AllowMultilineFinalElement.
@@ -55,21 +49,6 @@ Lint/NumberConversion:
55
49
- ' spec/models/feed_spec.rb'
56
50
- ' spec/models/story_spec.rb'
57
51
58
- # Offense count: 3
59
- # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes, Max.
60
- Metrics/AbcSize :
61
- Exclude :
62
- - ' db/migrate/20230801025232_create_good_job_batches.rb'
63
- - ' db/migrate/20230801025233_create_good_job_executions.rb'
64
- - ' db/migrate/20240314031219_recreate_good_job_cron_indexes_with_conditional.rb'
65
-
66
- # Offense count: 1
67
- # Configuration parameters: CountComments, Max, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode.
68
- # AllowedMethods: refine
69
- Metrics/BlockLength :
70
- Exclude :
71
- - ' db/migrate/20240314031219_recreate_good_job_cron_indexes_with_conditional.rb'
72
-
73
52
# Offense count: 1
74
53
# Configuration parameters: AllowedMethods, AllowedPatterns, Max.
75
54
Metrics/CyclomaticComplexity :
@@ -92,7 +71,7 @@ Metrics/PerceivedComplexity:
92
71
- ' db/migrate/20240314031219_recreate_good_job_cron_indexes_with_conditional.rb'
93
72
94
73
# Offense count: 2
95
- # Configuration parameters: NamePrefix, ForbiddenPrefixes, AllowedMethods, MethodDefinitionMacros.
74
+ # Configuration parameters: NamePrefix, ForbiddenPrefixes, AllowedMethods, MethodDefinitionMacros, UseSorbetSigs .
96
75
# NamePrefix: is_, has_, have_
97
76
# ForbiddenPrefixes: is_, has_, have_
98
77
# AllowedMethods: is_a?
@@ -106,7 +85,7 @@ RSpec/Be:
106
85
Exclude :
107
86
- ' spec/commands/feed/import_from_opml_spec.rb'
108
87
109
- # Offense count: 12
88
+ # Offense count: 13
110
89
# Configuration parameters: Prefixes, AllowedPatterns.
111
90
# Prefixes: when, with, without
112
91
RSpec/ContextWording :
@@ -123,7 +102,7 @@ RSpec/DescribeClass:
123
102
Exclude :
124
103
- ' spec/integration/feed_importing_spec.rb'
125
104
126
- # Offense count: 33
105
+ # Offense count: 34
127
106
# Configuration parameters: Max, CountAsOne.
128
107
RSpec/ExampleLength :
129
108
Exclude :
@@ -155,7 +134,7 @@ RSpec/MessageExpectation:
155
134
- ' spec/tasks/remove_old_stories_spec.rb'
156
135
- ' spec/utils/i18n_support_spec.rb'
157
136
158
- # Offense count: 25
137
+ # Offense count: 26
159
138
# Configuration parameters: Max.
160
139
RSpec/MultipleExpectations :
161
140
Exclude :
@@ -222,14 +201,13 @@ Rails/SaveBang:
222
201
- ' app/repositories/user_repository.rb'
223
202
- ' db/migrate/20130821020313_update_nil_entry_ids.rb'
224
203
225
- # Offense count: 3
204
+ # Offense count: 2
226
205
# Configuration parameters: ForbiddenMethods, AllowedMethods.
227
206
# 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
228
207
Rails/SkipsModelValidations :
229
208
Exclude :
230
209
- ' db/migrate/20140421224454_fix_invalid_unicode.rb'
231
210
- ' db/migrate/20141102103617_fix_invalid_titles_with_unicode_line_endings.rb'
232
- - ' db/migrate/20230223231930_add_username_to_users.rb'
233
211
234
212
# Offense count: 5
235
213
# Configuration parameters: Include.
0 commit comments