Enable Rubocop Style/FrozenStringLiteralComment (#23793)

This commit is contained in:
Nick Schonning authored and GitHub committed 2023-07-12 09:47:08 +02:00
1 parent 9e8bc56d5a
commit 1d557305d2
394 files changed
+784 -399

No files matched your search

+2
View File
@@ -1,3 +1,5 @@
# frozen_string_literal: true
RSS::Builder.build do |doc|
doc.title(display_name(@account))
doc.description(I18n.t('rss.descriptions.account', acct: @account.local_username_and_domain))
+2
View File
@@ -1,3 +1,5 @@
# frozen_string_literal: true
RSS::Builder.build do |doc|
doc.title("##{@tag.display_name}")
doc.description(I18n.t('rss.descriptions.tag', hashtag: @tag.display_name))
@@ -1,3 +1,5 @@
# frozen_string_literal: true
doc = Ox::Document.new(version: '1.0')
doc << Ox::Element.new('XRD').tap do |xrd|