troessner/reek

View on GitHub
lib/reek/code_climate/code_climate_configuration.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

module Reek
  module CodeClimate
    # loads the smell type metadata to present in Code Climate
    module CodeClimateConfiguration
      def self.load
        config_file = File.expand_path('code_climate_configuration.yml', __dir__)
        YAML.load_file config_file
      end
    end
  end
end