module SCSSLint # Checks for rules with no content. class Linter::EmptyRule < Linter include LinterRegistry def visit_rule(node) add_lint(node, 'Empty rule') if node.children.empty? yield # Continue linting children end end end