lib/scss_lint/linter/comment.rb in scss-lint-0.20.3 vs lib/scss_lint/linter/comment.rb in scss-lint-0.21.0

- old
+ new

@@ -2,13 +2,9 @@ # Checks for uses of renderable comments (/* ... */) class Linter::Comment < Linter include LinterRegistry def visit_comment(node) - add_lint(node) unless node.invisible? - end - - def description - 'Use // comments everywhere' + add_lint(node, 'Use `//` comments everywhere') unless node.invisible? end end end