lib/scss_lint/linter/debug_statement.rb in scss-lint-0.20.3 vs lib/scss_lint/linter/debug_statement.rb in scss-lint-0.21.0
- old
+ new
@@ -2,13 +2,9 @@
# Checks for leftover `@debug` statements.
class Linter::DebugStatement < Linter
include LinterRegistry
def visit_debug(node)
- add_lint(node)
- end
-
- def description
- '@debug line'
+ add_lint(node, 'Remove @debug line')
end
end
end