Class: SlimLint::Linter::FileLength

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

Overview

Checks for file longer than a maximum number of lines.

Constant Summary collapse

MSG =
'File is too long. [%d/%d]'

Instance Attribute Summary

Attributes inherited from SlimLint::Linter

#lints

Attributes included from SexpVisitor::DSL

#captures, #patterns

Method Summary

Methods included from SlimLint::LinterRegistry

extract_linters_from, included

Methods inherited from SlimLint::Linter

#initialize, #name, #run

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