Supreme Court Justice Amy Coney Barrett endorsed the idea that the court adopt a formal code of conduct.