class HamlLint::Linter::ObjectReferenceAttributes

ID attributes for an element (e.g. ‘%div`).
Checks for uses of the object reference syntax for assigning the class and

def visit_tag(node)

def visit_tag(node)
  return unless node.object_reference?
  record_lint(node, 'Avoid using object reference syntax to assign class/id ' \
                 'attributes for tags')
end