app/views/parameters/_value_card.haml
= "..."
should be rewritten as ...
Open
Open
%b= "#{key.to_s.capitalize}: "
- Read upRead up
- Exclude checks
HamlLint/UnnecessaryStringOutput
Avoid outputting string expressions in Ruby when static text will suffice.
Bad
haml
%tag= "Some #{interpolated} string"
Good: more concise
haml
%tag Some #{interpolated} string
HAML gracefully handles string interpolation in static text, so you don't need to work with Ruby strings in order to use interpolation.