Sha256: 1b79c010f9efb17b418c4f0aeae65887f4b161c5bc616110d6655a6cc5f1047e

Contents?: true

Size: 253 Bytes

Versions: 2

Compression:

Stored size: 253 Bytes

Contents

require 'sass'

module SCSSLint
  class Linter::CommentLinter < Linter
    include LinterRegistry

    def visit_comment(node)
      add_lint(node) unless node.invisible?
    end

    def description
      'Use // comments everywhere'
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
scss-lint-0.7.1 lib/scss_lint/linter/comment_linter.rb
scss-lint-0.7.0 lib/scss_lint/linter/comment_linter.rb