Class: SlimLint::Linter::RedundantDiv

Inherits:
Linter
  • Object
show all
Includes:
SlimLint::LinterRegistry
Defined in:
lib/slim_lint/linter/redundant_div.rb

Overview

Checks for unnecessary uses of the div tag where a class name or ID already implies a div.

Constant Summary collapse

MESSAGE =
'`div` is redundant when %s attribute shortcut is present'

Method Summary

Methods included from SlimLint::LinterRegistry

extract_linters_from, included, linter_names