Safe To Consume Peanut During Pregnancy?

Hi, is it safe to consume peanut during pregnancy especially in first trimester? Heard those old folks tale that it might cause allergy or eczema on Baby if consume during pregnancy. ?