Sha256: 28c51d5ee7d24040414d67c51120a566a427b712ac80349d8a41a2504a6b96d1

Contents?: true

Size: 374 Bytes

Versions: 8

Compression:

Stored size: 374 Bytes

Contents

require 'sass'

module SCSSLint
  class Linter::DebugLinter < Linter
    include LinterRegistry

    class << self
      def run(engine)
        lints = []
        engine.tree.each do |node|
          lints << create_lint(node) if node.is_a?(Sass::Tree::DebugNode)
        end
        lints
      end

      def description
        '@debug line'
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
scss-lint-0.6 lib/scss_lint/linter/debug_linter.rb
scss-lint-0.5.2 lib/scss_lint/linter/debug_linter.rb
scss-lint-0.5.1 lib/scss_lint/linter/debug_linter.rb
scss-lint-0.5 lib/scss_lint/linter/debug_linter.rb
scss-lint-0.4 lib/scss_lint/linter/debug_linter.rb
scss-lint-0.3 lib/scss_lint/linter/debug_linter.rb
scss-lint-0.2 lib/scss_lint/linter/debug_linter.rb
scss-lint-0.1 lib/scss_lint/linter/debug_linter.rb