Merge pull request #4552 from Growstuff/Lint/SymbolConversion

Rubocop: Lint/SymbolConversion
This commit is contained in:
Daniel O'Connor
2026-04-26 02:37:48 +09:30
committed by GitHub
2 changed files with 1 additions and 9 deletions

View File

@@ -153,14 +153,6 @@ Lint/SuppressedException:
Exclude:
- 'lib/tasks/testing.rake'
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: strict, consistent
Lint/SymbolConversion:
Exclude:
- 'app/helpers/crops_helper.rb'
# Offense count: 7
# This cop supports safe autocorrection (--autocorrect).
Lint/UselessAssignment:

View File

@@ -62,7 +62,7 @@ module CropsHelper
'@type': 'Person',
name: post.author.login_name
},
'datePublished': post.created_at
datePublished: post.created_at
}
end