Sha256: 2e350e9d350ebf91773cb993a5605286f08d2f021225a8a1d0723e079a27a439
Contents?: true
Size: 259 Bytes
Versions: 58
Compression:
Stored size: 259 Bytes
Contents
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
Version data entries
58 entries across 58 versions & 3 rubygems