Class: LiquidLint::Linter::RedundantDiv
- Inherits:
-
LiquidLint::Linter
- Object
- LiquidLint::Linter
- LiquidLint::Linter::RedundantDiv
- Includes:
- LiquidLint::LinterRegistry
- Defined in:
- lib/liquid_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'
Instance Attribute Summary
Attributes inherited from LiquidLint::Linter
Attributes included from SexpVisitor::DSL
Method Summary
Methods included from LiquidLint::LinterRegistry
extract_linters_from, included
Methods inherited from LiquidLint::Linter
Methods included from SexpVisitor::DSL
#anything, #capture, #on, #on_start
Methods included from SexpVisitor
#captures, #on_start, #patterns, #traverse, #traverse_children, #trigger_pattern_callbacks
Constructor Details
This class inherits a constructor from LiquidLint::Linter