Sha256: 8d9741fa43734688ae0c936771f98baee4f4cecb45f9ea34f3c15e0d1bc4fa6e
Contents?: true
Size: 293 Bytes
Versions: 14
Compression:
Stored size: 293 Bytes
Contents
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? yield # Continue linting children end def description 'Empty rule' end end end
Version data entries
14 entries across 14 versions & 1 rubygems