mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Update rubocop TODO
This commit is contained in:
parent
8a131917d9
commit
66fa4994a0
1 changed files with 33 additions and 7 deletions
|
|
@ -1,6 +1,6 @@
|
|||
# This configuration was generated by
|
||||
# `rubocop --auto-gen-config`
|
||||
# on 2024-03-04 16:04:49 UTC using RuboCop version 1.61.0.
|
||||
# on 2024-03-26 10:26:16 UTC using RuboCop version 1.61.0.
|
||||
# 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
|
||||
|
|
@ -1146,7 +1146,7 @@ Rails/ContentTag:
|
|||
|
||||
# Offense count: 13
|
||||
# Configuration parameters: Include.
|
||||
# Include: db/migrate/*.rb
|
||||
# Include: db/**/*.rb
|
||||
Rails/CreateTableWithTimestamps:
|
||||
Exclude:
|
||||
- 'db/migrate/20121223115117_create_rooms_table.rb'
|
||||
|
|
@ -1163,7 +1163,16 @@ Rails/CreateTableWithTimestamps:
|
|||
- 'db/migrate/20170129075434_create_resources_table.rb'
|
||||
- 'db/migrate/20170529215453_create_organizations.rb'
|
||||
|
||||
# Offense count: 2
|
||||
# Configuration parameters: Severity, Include.
|
||||
# Include: db/**/*.rb
|
||||
Rails/DangerousColumnNames:
|
||||
Exclude:
|
||||
- 'db/migrate/20160403214841_add_id_and_created_at_to_events_registrations.rb'
|
||||
- 'db/migrate/20160614145614_add_id_to_users_roles.rb'
|
||||
|
||||
# Offense count: 103
|
||||
# This cop supports unsafe autocorrection (--autocorrect-all).
|
||||
# Configuration parameters: EnforcedStyle, AllowToTime.
|
||||
# SupportedStyles: strict, flexible
|
||||
Rails/Date:
|
||||
|
|
@ -1224,6 +1233,7 @@ Rails/EnumHash:
|
|||
- 'app/models/survey_question.rb'
|
||||
|
||||
# Offense count: 7
|
||||
# This cop supports safe autocorrection (--autocorrect).
|
||||
# Configuration parameters: EnforcedStyle.
|
||||
# SupportedStyles: slashes, arguments
|
||||
Rails/FilePath:
|
||||
|
|
@ -1235,6 +1245,13 @@ Rails/FilePath:
|
|||
- 'spec/features/sponsor_spec.rb'
|
||||
- 'spec/support/deprecation_shitlist.rb'
|
||||
|
||||
# Offense count: 81
|
||||
# This cop supports unsafe autocorrection (--autocorrect-all).
|
||||
# Configuration parameters: AllowedMethods, AllowedPatterns.
|
||||
# AllowedMethods: order, limit, select, lock
|
||||
Rails/FindEach:
|
||||
Enabled: false
|
||||
|
||||
# Offense count: 6
|
||||
# Configuration parameters: Include.
|
||||
# Include: app/models/**/*.rb
|
||||
|
|
@ -1274,7 +1291,7 @@ Rails/HttpStatus:
|
|||
- 'app/controllers/admin/venue_commercials_controller.rb'
|
||||
- 'app/controllers/commercials_controller.rb'
|
||||
|
||||
# Offense count: 100
|
||||
# Offense count: 102
|
||||
Rails/I18nLocaleTexts:
|
||||
Enabled: false
|
||||
|
||||
|
|
@ -1357,7 +1374,15 @@ Rails/RakeEnvironment:
|
|||
- 'lib/tasks/dump_db.rake'
|
||||
- 'lib/tasks/spec.rake'
|
||||
|
||||
# Offense count: 21
|
||||
# Offense count: 1
|
||||
# This cop supports unsafe autocorrection (--autocorrect-all).
|
||||
# Configuration parameters: AllowedReceivers.
|
||||
# AllowedReceivers: ActionMailer::Preview, ActiveSupport::TimeZone
|
||||
Rails/RedundantActiveRecordAllMethod:
|
||||
Exclude:
|
||||
- 'db/migrate/20160309182655_remove_dietary_choices_table.rb'
|
||||
|
||||
# Offense count: 20
|
||||
# This cop supports unsafe autocorrection (--autocorrect-all).
|
||||
Rails/RedundantPresenceValidationOnBelongsTo:
|
||||
Enabled: false
|
||||
|
|
@ -1402,7 +1427,7 @@ Rails/SkipsModelValidations:
|
|||
Rails/ThreeStateBooleanColumn:
|
||||
Enabled: false
|
||||
|
||||
# Offense count: 40
|
||||
# Offense count: 48
|
||||
# This cop supports unsafe autocorrection (--autocorrect-all).
|
||||
# Configuration parameters: EnforcedStyle.
|
||||
# SupportedStyles: strict, flexible
|
||||
|
|
@ -1416,6 +1441,7 @@ Rails/TimeZone:
|
|||
- 'lib/tasks/dump_db.rake'
|
||||
- 'spec/controllers/admin/comments_controller_spec.rb'
|
||||
- 'spec/factories/users.rb'
|
||||
- 'spec/helpers/application_helper_spec.rb'
|
||||
- 'spec/models/conference_spec.rb'
|
||||
|
||||
# Offense count: 1
|
||||
|
|
@ -1630,7 +1656,7 @@ Style/HashTransformValues:
|
|||
- 'app/controllers/admin/comments_controller.rb'
|
||||
- 'app/helpers/chart_helper.rb'
|
||||
|
||||
# Offense count: 58
|
||||
# Offense count: 57
|
||||
# This cop supports safe autocorrection (--autocorrect).
|
||||
Style/IfUnlessModifier:
|
||||
Enabled: false
|
||||
|
|
@ -1920,7 +1946,7 @@ Style/SoleNestedConditional:
|
|||
Style/StringConcatenation:
|
||||
Enabled: false
|
||||
|
||||
# Offense count: 17
|
||||
# Offense count: 16
|
||||
# This cop supports safe autocorrection (--autocorrect).
|
||||
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
|
||||
# SupportedStyles: single_quotes, double_quotes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue