A federal judge has found former Donald Trump attorney Rudy Giuliani in civil contempt for discovery violations.