David Peterson threw his first career shutout in the Mets' 5-0 win over the Nationals, going all nine innings without a walk.