require "reek"

module Rubycritic
  module Analyser

    class Reek < ::Reek::Examiner
      DEFAULT_CONFIG_FILES = ["lib/rubycritic/analysers/config.reek"]

      def initialize(paths)
        super(Array(paths), DEFAULT_CONFIG_FILES)
      end
    end

  end
end

require "reek"

module Rubycritic
  module Analyser

    class Reek < ::Reek::Examiner
      DEFAULT_CONFIG_FILES = [File.expand_path("../config.reek", __FILE__)]

      def initialize(paths)
        super(Array(paths), DEFAULT_CONFIG_FILES)
      end
    end

  end
end

Make path to a config file relative to the current file
Make path to a config file relative to the current file
