mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-10 16:54:38 -04:00
Rubocop: Style/PercentLiteralDelimiters
This commit is contained in:
@@ -779,13 +779,6 @@ Style/OptionalBooleanParameter:
|
||||
- 'app/helpers/application_helper.rb'
|
||||
- 'app/models/concerns/member_newsletter.rb'
|
||||
|
||||
# Offense count: 1
|
||||
# This cop supports safe autocorrection (--autocorrect).
|
||||
# Configuration parameters: PreferredDelimiters.
|
||||
Style/PercentLiteralDelimiters:
|
||||
Exclude:
|
||||
- 'db/migrate/20251130035700_create_versions.rb'
|
||||
|
||||
# Offense count: 1
|
||||
# This cop supports unsafe autocorrection (--autocorrect-all).
|
||||
# Configuration parameters: Methods.
|
||||
|
||||
@@ -37,6 +37,6 @@ class CreateVersions < ActiveRecord::Migration[7.2]
|
||||
t.string :event, null: false
|
||||
t.text :object, limit: TEXT_BYTES
|
||||
end
|
||||
add_index :versions, %i[item_type item_id]
|
||||
add_index :versions, %i(item_type item_id)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user