Fix haml-lint Rubocop `Style/StringLiterals` cop (#25948)

main
Matt Jankowski 2023-07-17 10:57:18 -04:00 committed by GitHub
parent 19208aa422
commit d0f00206dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -1,13 +1,13 @@
# This configuration was generated by # This configuration was generated by
# `haml-lint --auto-gen-config` # `haml-lint --auto-gen-config`
# on 2023-07-17 09:15:24 -0400 using Haml-Lint version 0.48.0. # on 2023-07-17 09:59:21 -0400 using Haml-Lint version 0.48.0.
# The point is for the user to remove these configuration records # The point is for the user to remove these configuration records
# one by one as the lints are removed from the code base. # one by one as the lints are removed from the code base.
# Note that changes in the inspected code, or installation of new # Note that changes in the inspected code, or installation of new
# versions of Haml-Lint, may require this file to be generated again. # versions of Haml-Lint, may require this file to be generated again.
linters: linters:
# Offense count: 70 # Offense count: 69
RuboCop: RuboCop:
enabled: false enabled: false

View File

@ -2,7 +2,7 @@
= t("imports.titles.#{@bulk_import.type}") = t("imports.titles.#{@bulk_import.type}")
- if @bulk_import.likely_mismatched? - if @bulk_import.likely_mismatched?
.flash-message.warning= t("imports.mismatched_types_warning") .flash-message.warning= t('imports.mismatched_types_warning')
- if @bulk_import.overwrite? - if @bulk_import.overwrite?
%p.hint= t("imports.overwrite_preambles.#{@bulk_import.type}_html", filename: @bulk_import.original_filename, total_items: @bulk_import.total_items) %p.hint= t("imports.overwrite_preambles.#{@bulk_import.type}_html", filename: @bulk_import.original_filename, total_items: @bulk_import.total_items)