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.37.0 lib/scss_lint/linter/comment.rb
scss-lint-0.36.1 lib/scss_lint/linter/comment.rb
scss-lint-0.36.0 lib/scss_lint/linter/comment.rb
scss-lint-0.35.0 lib/scss_lint/linter/comment.rb
scss-lint-0.34.0 lib/scss_lint/linter/comment.rb
scss-lint-0.33.0 lib/scss_lint/linter/comment.rb
scss-lint-0.32.0 lib/scss_lint/linter/comment.rb
scss-lint-0.31.0 lib/scss_lint/linter/comment.rb
scss-lint-0.30.0 lib/scss_lint/linter/comment.rb
scss-lint-0.29.0 lib/scss_lint/linter/comment.rb
scss-lint-0.28.0 lib/scss_lint/linter/comment.rb
scss-lint-0.27.0 lib/scss_lint/linter/comment.rb
scss-lint-0.26.2 lib/scss_lint/linter/comment.rb
scss-lint-0.26.1 lib/scss_lint/linter/comment.rb
scss-lint-0.26.0 lib/scss_lint/linter/comment.rb
scss-lint-0.25.1 lib/scss_lint/linter/comment.rb
scss-lint-0.25.0 lib/scss_lint/linter/comment.rb
scss-lint-0.24.1 lib/scss_lint/linter/comment.rb
scss-lint-0.24.0 lib/scss_lint/linter/comment.rb
scss-lint-0.23.1 lib/scss_lint/linter/comment.rb