Sha256: ffba50c06b9edc45c99084b557b052b767229811b1eaec39d56097c1ade654ea

Contents?: true

Size: 286 Bytes

Versions: 17

Compression:

Stored size: 286 Bytes

Contents

module SCSSLint
  # Checks for uses of renderable comments (/* ... */)
  class Linter::Comment < 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

17 entries across 17 versions & 1 rubygems

Version Path
scss-lint-0.20.3 lib/scss_lint/linter/comment.rb
scss-lint-0.20.2 lib/scss_lint/linter/comment.rb
scss-lint-0.20.1 lib/scss_lint/linter/comment.rb
scss-lint-0.20.0 lib/scss_lint/linter/comment.rb
scss-lint-0.19.0 lib/scss_lint/linter/comment.rb
scss-lint-0.18.0 lib/scss_lint/linter/comment.rb
scss-lint-0.17.3 lib/scss_lint/linter/comment.rb
scss-lint-0.17.2 lib/scss_lint/linter/comment.rb
scss-lint-0.17.1 lib/scss_lint/linter/comment.rb
scss-lint-0.17.0 lib/scss_lint/linter/comment.rb
scss-lint-0.16.1 lib/scss_lint/linter/comment.rb
scss-lint-0.16.0 lib/scss_lint/linter/comment.rb
scss-lint-0.15.0 lib/scss_lint/linter/comment.rb
scss-lint-0.14.0 lib/scss_lint/linter/comment.rb
scss-lint-0.13.0 lib/scss_lint/linter/comment.rb
scss-lint-0.12.1 lib/scss_lint/linter/comment.rb
scss-lint-0.12.0 lib/scss_lint/linter/comment.rb