lib/scss_lint/linter/empty_rule.rb in scss-lint-0.13.0 vs lib/scss_lint/linter/empty_rule.rb in scss-lint-0.14.0
- old
+ new
@@ -1,5 +1,6 @@
module SCSSLint
+ # Checks for rules with no content.
class Linter::EmptyRule < Linter
include LinterRegistry
def visit_rule(node)
add_lint(node) if node.children.empty?