Expected an indentation at 16 instead of at 15. Open
value: model.send(field) ? model.send(field).to_fs(:ymd) : '', label: 'When?'
- Create a ticketCreate a ticket
- Exclude checks
Hash attribute should start with one space after the opening brace Open
%a.editable-date#description{"data-field" => "#date--#{model.id}-#{field.to_s}",
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
HamlLint/SpaceInsideHashAttributes
Check the style of hash attributes against one of two possible preferred
styles, space
(default) or no_space
:
Bad: inconsistent spacing inside hash attributes braces
haml
%tag{ foo: bar}
%tag{foo: bar }
%tag{ foo: bar }
With default space
style option: require a single space inside
hash attributes braces
haml
%tag{ foo: bar }
With no_space
style option: require no space inside
hash attributes braces
haml
%tag{foo: bar}
This offers the ability to ensure consistency of Haml hash attributes style with ruby hash literal style (compare with the Style/SpaceInsideHashLiteralBraces cop in Rubocop).
Hash attribute should start with one space after the opening brace Open
.hide{id: "date--#{model.id}-#{field.to_s}"}
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
HamlLint/SpaceInsideHashAttributes
Check the style of hash attributes against one of two possible preferred
styles, space
(default) or no_space
:
Bad: inconsistent spacing inside hash attributes braces
haml
%tag{ foo: bar}
%tag{foo: bar }
%tag{ foo: bar }
With default space
style option: require a single space inside
hash attributes braces
haml
%tag{ foo: bar }
With no_space
style option: require no space inside
hash attributes braces
haml
%tag{foo: bar}
This offers the ability to ensure consistency of Haml hash attributes style with ruby hash literal style (compare with the Style/SpaceInsideHashLiteralBraces cop in Rubocop).
Hash attribute should end with one space before the closing brace Open
.hide{id: "date--#{model.id}-#{field.to_s}"}
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
HamlLint/SpaceInsideHashAttributes
Check the style of hash attributes against one of two possible preferred
styles, space
(default) or no_space
:
Bad: inconsistent spacing inside hash attributes braces
haml
%tag{ foo: bar}
%tag{foo: bar }
%tag{ foo: bar }
With default space
style option: require a single space inside
hash attributes braces
haml
%tag{ foo: bar }
With no_space
style option: require no space inside
hash attributes braces
haml
%tag{foo: bar}
This offers the ability to ensure consistency of Haml hash attributes style with ruby hash literal style (compare with the Style/SpaceInsideHashLiteralBraces cop in Rubocop).
Hash attribute should end with one space before the closing brace Open
%a.editable-date#description{"data-field" => "#date--#{model.id}-#{field.to_s}",
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
HamlLint/SpaceInsideHashAttributes
Check the style of hash attributes against one of two possible preferred
styles, space
(default) or no_space
:
Bad: inconsistent spacing inside hash attributes braces
haml
%tag{ foo: bar}
%tag{foo: bar }
%tag{ foo: bar }
With default space
style option: require a single space inside
hash attributes braces
haml
%tag{ foo: bar }
With no_space
style option: require no space inside
hash attributes braces
haml
%tag{foo: bar}
This offers the ability to ensure consistency of Haml hash attributes style with ruby hash literal style (compare with the Style/SpaceInsideHashLiteralBraces cop in Rubocop).