class Govuk::Lint::ConfigFile

def tempfile_for_configs

def tempfile_for_configs
  @tempfile_for_configs ||= begin
                             file = Tempfile.new("tmp-rubocop-all.yml")
                             file.write(merged_global_and_local_configs.to_yaml)
                             file.close
                             file
                           end
end