app/views/photos/_likes.html.haml
Unexpected additional newlines at the end of the file. Open
Open
- Create a ticketCreate a ticket
- Exclude checks
Line is too long. [137/120] Open
Open
= render 'likes/count', likeable: photo, liked: member_signed_in? && photo.liked_by_members_names.include?(current_member.login_name)
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
HamlLint/LineLength
Option | Description |
---|---|
max |
Maximum number of columns a single line can have. (default 80 ) |
Wrap lines at 80 characters. You can configure this amount via the max
option on the linter, e.g. by adding the following to your .haml-lint.yml
:
linters:
LineLength:
max: 100
Long lines are harder to read and usually indicative of complexity. You can avoid them by splitting long attribute hashes on a comma, for example:
%tag{ attr1: 1,
attr2: 2,
attr3: 3 }
This significantly improves readability.