Sha256: 41bfd3458aee6242d6aeb084d4665d62bbdd44d6d2c45d6989abe419f14c2f9a

Contents?: true

Size: 254 Bytes

Versions: 23

Compression:

Stored size: 254 Bytes

Contents

module SCSSLint
  # Checks for uses of renderable comments (/* ... */)
  class Linter::Comment < Linter
    include LinterRegistry

    def visit_comment(node)
      add_lint(node, 'Use `//` comments everywhere') unless node.invisible?
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
scss-lint-0.23.0 lib/scss_lint/linter/comment.rb
scss-lint-0.22.0 lib/scss_lint/linter/comment.rb
scss-lint-0.21.0 lib/scss_lint/linter/comment.rb