module

Ameba

Ameba's entry module.

To run the linter with default parameters:

Ameba.run

To configure and run it:

config = Ameba::Config.load
config.formatter = formatter
config.files = file_paths

Ameba.run(config)

Constants

VERSION = detect_version

Instance methods

run(config = Config.load)

Initializes Ameba::Runner and runs it. Can be configured via config parameter.

Examples:

Ameba.run
Ameba.run(config)
Source
version

Returns the version object of Ameba.

Source

Nested types