HAML

Use parenthesis syntax instead of hash syntax.

# Do
%a(href="/docs.html")

# Don't
%a{:href => "/docs.html"}

# Don't
%a{href: "/docs.html"}

Use dashes for classes, ids, data attributes, and attribute values.

# Do
.panel.configure-poll#we-hardly-use-ids(data-target=".another-element")

# Don't
.panel.configure_poll#we_hardly_use_ids(data-target=".another_element")