class RuboCop::ConfigLoader

def load_file(file)

def load_file(file)
  path = File.absolute_path(file.is_a?(RemoteConfig) ? file.file : file)
  hash = load_yaml_configuration(path)
  # Resolve requires first in case they define additional cops
  resolver.resolve_requires(path, hash)
  add_missing_namespaces(path, hash)
  resolver.resolve_inheritance_from_gems(hash)
  resolver.resolve_inheritance(path, hash, file, debug?)
  hash.delete('inherit_from')
  Config.create(hash, path)
end