Sha256: 3827c4495b0593a1fc0d315aacfa30d5f463f442be09683e4c15c7ac31e4bafb
Contents?: true
Size: 313 Bytes
Versions: 20
Compression:
Stored size: 313 Bytes
Contents
module SlimLint # Searches for tags with uppercase characters. class Linter::TagCase < Linter include LinterRegistry on [:html, :tag] do |sexp| _, _, name = sexp next unless name[/[A-Z]/] report_lint(sexp, "Tag `#{name}` should be written as `#{name.downcase}`") end end end
Version data entries
20 entries across 20 versions & 1 rubygems