ServiceInnovationLab/RapuTure

View on GitHub
app/views/variables/_card.haml

Summary

Maintainability
Test Coverage

The = symbol should have one space separating it from code
Open

      %p.card-text=variable.description
Severity: Info
Found in app/views/variables/_card.haml by haml-lint

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.

There are no issues that match your filters.

Category
Status