Sha256: 2f586b752737990b0293577c73c28d94e8278028609374501f7d85ec6803afc0
Contents?: true
Size: 542 Bytes
Versions: 30
Compression:
Stored size: 542 Bytes
Contents
# frozen_string_literal: true module SolidusDevSupport module RuboCop CONFIG_PATH = "#{__dir__}/rubocop/config.yml" def self.inject_defaults! config = ::RuboCop::ConfigLoader.load_file(CONFIG_PATH) puts "configuration from #{CONFIG_PATH}" if ::RuboCop::ConfigLoader.debug? config = ::RuboCop::ConfigLoader.merge_with_default(config, CONFIG_PATH, unset_nil: false) ::RuboCop::ConfigLoader.instance_variable_set(:@default_configuration, config) end end end SolidusDevSupport::RuboCop.inject_defaults!
Version data entries
30 entries across 30 versions & 1 rubygems