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
If i use conditions containing only CSS, i got the following warning:
[W] RuboCop: Style/EmptyElse: Redundant empty `else`-clause.
- if Rails.env == 'development' :css .jw-non-functional { box-shadow: 0 0 6px 4px rgba(255, 127, 80, .6); } - else :css .jw-non-functional { display: none; }
I've created a gist: https://gist.github.com/michsch/c876a01e576fb7e1de63
Expected result: no warning Current result: [W] RuboCop: Style/EmptyElse: Redundant empty else-clause.
else
Our work around at the moment in haml-lint.yml:
haml-lint.yml
RuboCop: ignored_cops: - Style/EmptyElse
The text was updated successfully, but these errors were encountered:
Thanks for the report, @michsch!
Fixed in ee07324.
Sorry, something went wrong.
No branches or pull requests
If i use conditions containing only CSS, i got the following warning:
[W] RuboCop: Style/EmptyElse: Redundant empty `else`-clause.
I've created a gist: https://gist.github.com/michsch/c876a01e576fb7e1de63
Expected result: no warning
Current result: [W] RuboCop: Style/EmptyElse: Redundant empty
else
-clause.Our work around at the moment in
haml-lint.yml
:The text was updated successfully, but these errors were encountered: