Class: SlimLint::Linter::ConsecutiveControlStatements
- Inherits:
-
SlimLint::Linter
- Object
- SlimLint::Linter
- SlimLint::Linter::ConsecutiveControlStatements
- Includes:
- SlimLint::LinterRegistry
- Defined in:
- lib/slim_lint/linter/consecutive_control_statements.rb
Overview
Searches for more than an allowed number of consecutive control code statements that could be condensed into a :ruby filter.
Instance Attribute Summary
Attributes inherited from SlimLint::Linter
Attributes included from SexpVisitor::DSL
Method Summary
Methods included from SlimLint::LinterRegistry
extract_linters_from, included
Methods inherited from SlimLint::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 SlimLint::Linter