Class: SlimLint::Linter::ControlStatementSpacing
- Inherits:
-
SlimLint::Linter
- Object
- SlimLint::Linter
- SlimLint::Linter::ControlStatementSpacing
- Includes:
- SlimLint::LinterRegistry
- Defined in:
- lib/slim_lint/linter/control_statement_spacing.rb
Overview
Checks for missing or superfluous spacing before and after control statements.
Constant Summary collapse
- MESSAGE =
'Please add a space before and after the `=`'
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