Module: Goodcheck
- Defined in:
- lib/goodcheck.rb,
lib/goodcheck/cli.rb,
lib/goodcheck/glob.rb,
lib/goodcheck/rule.rb,
lib/goodcheck/error.rb,
lib/goodcheck/issue.rb,
lib/goodcheck/buffer.rb,
lib/goodcheck/config.rb,
lib/goodcheck/logger.rb,
lib/goodcheck/pattern.rb,
lib/goodcheck/trigger.rb,
lib/goodcheck/version.rb,
lib/goodcheck/analyzer.rb,
lib/goodcheck/location.rb,
lib/goodcheck/home_path.rb,
lib/goodcheck/unarchiver.rb,
lib/goodcheck/exit_status.rb,
lib/goodcheck/array_helper.rb,
lib/goodcheck/commands/init.rb,
lib/goodcheck/commands/test.rb,
lib/goodcheck/config_loader.rb,
lib/goodcheck/import_loader.rb,
lib/goodcheck/commands/check.rb,
lib/goodcheck/reporters/json.rb,
lib/goodcheck/reporters/text.rb,
lib/goodcheck/commands/pattern.rb,
lib/goodcheck/commands/config_loading.rb
Defined Under Namespace
Modules: ArrayHelper, Commands, ExitStatus, HomePath, Pattern, Reporters Classes: Analyzer, Buffer, CLI, Config, ConfigLoader, Error, Glob, ImportLoader, Issue, Location, Rule, Trigger, Unarchiver
Constant Summary collapse
- DEFAULT_CONFIG_FILE =
"goodcheck.yml".freeze
- VERSION =
"3.1.0".freeze
Class Method Summary collapse
Class Method Details
.logger ⇒ Object
2 3 4 5 6 7 |
# File 'lib/goodcheck/logger.rb', line 2 def self.logger @logger ||= Logger.new( STDERR, level: Logger::ERROR, formatter: ->(severity, time, progname, msg) { "[#{severity}] #{msg}\n" } ) end |