I've done it both ways and my garden has been fine. I think your slope and topography is the deciding factor. I am going to make my rows east to west this season.
last season they were north to south. I want to see if it matters in my part of the country. It is a good Idea to keep your taller plants to the north here in the US. That may be different in other parts of the world.
Eat healthy from your backyard garden