class Ameba::Formatter::TODOFormatter

Overview

A formatter that creates a todo config. Basically, it takes all issues reported and disables corresponding rules or excludes failed sources from these rules.

Defined in:

ameba/formatter/todo_formatter.cr

Constructors

Instance Method Summary

Instance methods inherited from class Ameba::Formatter::DotFormatter

finished(sources) finished, source_finished(source : Source) source_finished, started(sources) started

Instance methods inherited from module Ameba::Formatter::Util

affected_code(source, location, max_length = 100, placeholder = " ...", prompt = "> ") affected_code

Instance methods inherited from class Ameba::Formatter::BaseFormatter

config : Hash(Symbol, Bool | String) config, finished(sources) finished, output : IO::FileDescriptor | IO::Memory output, source_finished(source : Source) source_finished, source_started(source : Source) source_started, started(sources) started

Constructor methods inherited from class Ameba::Formatter::BaseFormatter

new(output = STDOUT) new

Constructor Detail

def self.new(output = STDOUT) #

[View source]

Instance Method Detail

def finished(sources) #
Description copied from class Ameba::Formatter::DotFormatter

Reports a message when inspection is finished.


[View source]