lib/reek/plugin.rb
# Runs Ruby files through Reek.
# @return [Array<Reek::SmellWarning, nil>]
Runs Ruby files through Reek.
Runs Ruby files through Reek .
def run_linter(files_to_lint)
      configuration = ::Reek::Configuration::AppConfiguration.from_path(nil)
      files_to_lint.flat_map do |file|
        examiner = ::Reek::Examiner.new(file, configuration: configuration)
        examiner.smells
      end
    end
def run_linter ( files_to_lint ) configuration = :: Reek :: Configuration :: AppConfiguration . from_path ( nil ) files_to_lint . flat_map do | file | examiner = :: Reek :: Examiner . new ( file , configuration : configuration ) examiner . smells end end
Runs Ruby files through Reek.
Runs Ruby files through Reek .
None
Array<Reek::SmellWarning, nil>
files_to_lint
<not_specific>