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 = {{ (`shards version \"/tmp/tmp.KDGjNF/src/src\"`).chomp.stringify }}
Instance methods
run(config = Config.load)
Initializes Ameba::Runner and runs it.
Can be configured via config parameter.
Examples:
Ameba.run
Ameba.run config