class HamlLint::Linter::AlignmentTabs
Checks for tabs that are placed for alignment of tag content
Constants
- REGEX
Public Instance Methods
visit_tag(node)
click to toggle source
# File lib/haml_lint/linter/alignment_tabs.rb, line 7 def visit_tag(node) if REGEX.match?(node.source_code) record_lint(node, 'Avoid using tabs for alignment') end end