Sha256: a9d194ca60120ced68db09727ce5c17d2f1e898a42da3af6af988a48a2574e7d

Contents?: true

Size: 208 Bytes

Versions: 43

Compression:

Stored size: 208 Bytes

Contents

module SCSSLint
  # Checks for the use of an ID selector.
  class Linter::IdSelector < Linter
    include LinterRegistry

    def visit_id(id)
      add_lint(id, 'Avoid using id selectors')
    end
  end
end

Version data entries

43 entries across 43 versions & 3 rubygems

Version Path
scss-lint-0.33.0 lib/scss_lint/linter/id_selector.rb
scss-lint-0.32.0 lib/scss_lint/linter/id_selector.rb
scss-lint-0.31.0 lib/scss_lint/linter/id_selector.rb