Module: Twiddler::Lint

Defined in:
lib/twiddler/lint.rb

Defined Under Namespace

Classes: MissingStrokes, Rule

Class Method Summary collapse

Class Method Details

.check(config) ⇒ Object



5
6
7
8
9
10
11
# File 'lib/twiddler/lint.rb', line 5

def self.check(config)
  report = []
  Rule::registered.each do |rule|
    report << rule.new(config).check
  end
  report
end