module RuboCop::Yast::Config

patch the Rubocop config - include the plugin defaults

Constants

DEFAULT

Public Class Methods

load_defaults() click to toggle source
# File lib/rubocop/yast/config.rb, line 11
def self.load_defaults
  plugin_config = YAML.load_file(DEFAULT)
  config = ConfigLoader.merge_with_default(plugin_config, DEFAULT)

  ConfigLoader.instance_variable_set(:@default_configuration, config)
end