Skip to content

Commit

Permalink
Update rubocop TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
hennevogel committed Mar 25, 2024
1 parent d5df4b2 commit d2b094e
Showing 1 changed file with 24 additions and 15 deletions.
39 changes: 24 additions & 15 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2024-03-25 15:54:14 UTC using RuboCop version 1.62.1.
# on 2024-03-25 17:46:17 UTC using RuboCop version 1.62.1.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
Expand Down Expand Up @@ -109,6 +109,7 @@ Rails/EagerEvaluationLogMessage:
- 'lib/obs.rb'

# Offense count: 10
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: slashes, arguments
Rails/FilePath:
Expand Down Expand Up @@ -140,7 +141,7 @@ Rails/LexicallyScopedActionFilter:
- 'app/controllers/package_controller.rb'

# Offense count: 8
# This cop supports safe autocorrection (--autocorrect).
# This cop supports unsafe autocorrection (--autocorrect-all).
Rails/Pluck:
Exclude:
- 'app/controllers/download_controller.rb'
Expand All @@ -166,6 +167,21 @@ Rails/RakeEnvironment:
- 'lib/tasks/gettext.rake'
- 'lib/tasks/rubocop.rake'

# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: Include.
# Include: spec/controllers/**/*.rb, spec/requests/**/*.rb, test/controllers/**/*.rb, test/integration/**/*.rb
Rails/ResponseParsedBody:
Exclude:
- 'test/integration/download_controller_test.rb'

# Offense count: 3
# This cop supports unsafe autocorrection (--autocorrect-all).
Rails/RootPathnameMethods:
Exclude:
- 'app/models/screenshot.rb'
- 'test/models/screenshot_test.rb'

# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
Rails/RootPublicPath:
Expand Down Expand Up @@ -198,19 +214,6 @@ Style/ClassVars:
Exclude:
- 'app/helpers/application_helper.rb'

# Offense count: 8
# Configuration parameters: AllowedConstants.
Style/Documentation:
Exclude:
- 'app/controllers/application_controller.rb'
- 'app/controllers/download_controller.rb'
- 'app/controllers/package_controller.rb'
- 'app/controllers/search_controller.rb'
- 'app/helpers/package_helper.rb'
- 'app/helpers/search_helper.rb'
- 'app/models/appdata.rb'
- 'lib/api_connect.rb'

# Offense count: 4
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: MinBodyLength, AllowConsecutiveConditionals.
Expand All @@ -230,6 +233,12 @@ Style/IfUnlessModifier:
- 'lib/api_connect.rb'
- 'lib/obs.rb'

# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
Style/RedundantFilterChain:
Exclude:
- 'app/controllers/application_controller.rb'

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
Style/RedundantParentheses:
Expand Down

0 comments on commit d2b094e

Please sign in to comment.