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

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

Remove description method from EmptyRule
Remove description method from EmptyRule

The `description` method is being deprecated.

Change-Id: I632b48097c628b6140b330745dfef15b059174ff
Reviewed-on: http://gerrit.causes.com/36722
Tested-by: jenkins <d95b56ce41a2e1ac4cecdd398defd7414407cc08@causes.com>
Reviewed-by: Shane da Silva <6f6e68d1df92f30cb4b3ce35260ddf94a402f33d@causes.com>
