lib/scss_lint/linter/name_format.rb in scss-lint-0.22.0 vs lib/scss_lint/linter/name_format.rb in scss-lint-0.23.0
- old
+ new
@@ -45,10 +45,10 @@
translateX translateY translateZ
].to_set
def check_name(node, node_type, node_text = node.name)
if convention = violated_convention(node_text)
- add_lint(node, "Name of #{node_type} `#{node_text}` should be " <<
+ add_lint(node, "Name of #{node_type} `#{node_text}` should be " \
"written #{convention[:explanation]}")
end
end
def check_placeholder(node)