We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UnnecessaryStringOutput
I have the haml code:
= "#{user.payment_price_btc}\u202F\u0243"
On the browser page:
0.01000000 Ƀ
I run haml-lint and I get:
haml-lint
ydakuka@yauhenid:~/Work/project$ haml-lint ./app/views/users/ app/views/users/_list.html.haml:59 [W] UnnecessaryStringOutput: `= "..."` should be rewritten as `...` 45 files inspected, 1 lint detected
However, if I follow the recommendation, I'll get the following haml code:
#{user.payment_price_btc}\u202F\u0243
And this, on the browser page:
0.01000000\u202F\u0243
The text was updated successfully, but these errors were encountered:
Not sure if it's the same bug but
= "#{t('some.key')}: "
is marked as well (notice the colon at the end).
Sorry, something went wrong.
No branches or pull requests
Describe
I have the haml code:
= "#{user.payment_price_btc}\u202F\u0243"
On the browser page:
I run
haml-lint
and I get:However, if I follow the recommendation, I'll get the following haml code:
And this, on the browser page:
The text was updated successfully, but these errors were encountered: