As long as the pinion and output shaft centerlines are parallel and there's approx 2-3 degree angle in relation to the driveshaft, it's good. But you don't want everything exactly in line for a street car.

Ideally, the angles between the transmission output shaft and driveshaft, and between the driveshaft and the pinion will be equal and opposite.