11# This configuration was generated by
22# `rubocop --auto-gen-config --auto-gen-only-exclude --exclude-limit 400`
3- # on 2025-06-09 17:04:01 UTC using RuboCop version 1.76.0 .
3+ # on 2025-11-17 17:32:59 UTC using RuboCop version 1.81.7 .
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
@@ -33,7 +33,7 @@ Layout/MultilineMethodArgumentLineBreaks:
3333 - ' db/migrate/20240314031221_create_good_job_labels_index.rb'
3434 - ' db/migrate/20240314031223_create_index_good_job_jobs_for_candidate_lookup.rb'
3535
36- # Offense count: 9
36+ # Offense count: 10
3737# This cop supports unsafe autocorrection (--autocorrect-all).
3838# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredClasses.
3939# AllowedMethods: ago, from_now, second, seconds, minute, minutes, hour, hours, day, days, week, weeks, fortnight, fortnights, in_milliseconds
@@ -71,8 +71,9 @@ Metrics/PerceivedComplexity:
7171 - ' db/migrate/20240314031219_recreate_good_job_cron_indexes_with_conditional.rb'
7272
7373# Offense count: 3
74- # Configuration parameters: Mode, AllowedMethods.
74+ # Configuration parameters: Mode, AllowedMethods, AllowedPatterns, AllowBangMethods, WaywardPredicates .
7575# AllowedMethods: call
76+ # WaywardPredicates: nonzero?
7677Naming/PredicateMethod :
7778 Exclude :
7879 - ' app/utils/sample_story.rb'
@@ -109,7 +110,7 @@ RSpec/DescribeClass:
109110 Exclude :
110111 - ' spec/integration/feed_importing_spec.rb'
111112
112- # Offense count: 34
113+ # Offense count: 35
113114# Configuration parameters: Max, CountAsOne.
114115RSpec/ExampleLength :
115116 Exclude :
@@ -130,6 +131,16 @@ RSpec/ExampleLength:
130131 - ' spec/utils/feed_discovery_spec.rb'
131132 - ' spec/utils/opml_parser_spec.rb'
132133
134+ # Offense count: 16
135+ RSpec/LeakyLocalVariable :
136+ Exclude :
137+ - ' spec/commands/feed/import_from_opml_spec.rb'
138+ - ' spec/integration/feed_importing_spec.rb'
139+ - ' spec/requests/feeds_controller_spec.rb'
140+ - ' spec/requests/imports_controller_spec.rb'
141+ - ' spec/requests/stories_controller_spec.rb'
142+ - ' spec/utils/feed_discovery_spec.rb'
143+
133144# Offense count: 17
134145# Configuration parameters: EnforcedStyle.
135146# SupportedStyles: allow, expect
@@ -169,27 +180,27 @@ RSpec/NestedGroups:
169180 Exclude :
170181 - ' spec/integration/feed_importing_spec.rb'
171182
172- # Offense count: 26
183+ # Offense count: 5
173184# Configuration parameters: IgnoreNameless, IgnoreSymbolicNames.
174185RSpec/VerifiedDoubles :
175186 Exclude :
176- - ' spec/commands/feed/create_spec.rb'
177187 - ' spec/commands/feed/fetch_one_spec.rb'
178188 - ' spec/commands/feed/find_new_stories_spec.rb'
179- - ' spec/repositories/story_repository_spec.rb'
180189 - ' spec/tasks/remove_old_stories_spec.rb'
181- - ' spec/utils/feed_discovery_spec.rb'
182190
183191# Offense count: 2
184- # Configuration parameters: IgnoreScopes, Include.
185- # Include: **/app/models/**/*.rb
192+ Rails/Env :
193+ Exclude :
194+ - ' config/routes.rb'
195+ - ' spec/rails_helper.rb'
196+
197+ # Offense count: 2
198+ # Configuration parameters: IgnoreScopes.
186199Rails/InverseOf :
187200 Exclude :
188201 - ' app/models/feed.rb'
189202
190203# Offense count: 3
191- # Configuration parameters: Include.
192- # Include: db/**/*.rb
193204Rails/ReversibleMigrationMethodDefinition :
194205 Exclude :
195206 - ' db/migrate/20130423001740_drop_email_from_user.rb'
@@ -217,8 +228,6 @@ Rails/SkipsModelValidations:
217228 - ' db/migrate/20141102103617_fix_invalid_titles_with_unicode_line_endings.rb'
218229
219230# Offense count: 5
220- # Configuration parameters: Include.
221- # Include: db/**/*.rb
222231Rails/ThreeStateBooleanColumn :
223232 Exclude :
224233 - ' db/migrate/20130412185253_add_new_fields_to_stories.rb'
@@ -240,8 +249,6 @@ Rails/TimeZone:
240249
241250# Offense count: 1
242251# This cop supports safe autocorrection (--autocorrect).
243- # Configuration parameters: Include.
244- # Include: **/app/models/**/*.rb
245252Rails/Validation :
246253 Exclude :
247254 - ' app/models/story.rb'
0 commit comments