app/views/crops/_find_seeds.html.haml
Expected an indentation at 16 instead of at 15. Open
Open
rel: "noopener noreferrer" do
- Create a ticketCreate a ticket
- Exclude checks
Expected an indentation at 16 instead of at 15. Open
Open
target: "_blank",
- Create a ticketCreate a ticket
- Exclude checks
The = symbol should have one space separating it from code Open
Open
%span.badge.badge-primary.badge-pill=crop.seeds.size
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
HamlLint/SpaceBeforeScript
Separate Ruby script indicators (-
/=
) from their code with a single space.
Bad: no space between =
and some_expression
haml
=some_expression
Good
haml
= some_expression
Good
haml
- some_value = 'Hello World'
Ensuring space after -
/=
enforces a consistency that all HAML tags/script
indicators are separated from their inline content by a space. Since it is
optional to add a space after -
/=
but required when writing %tag
or
similar, the consistency is best enforced via a linter.