The effect of breastfeeding on the risk of developing asthma and allergy has been debated for a long time. Researchers show that breastfeeding might in fact increase the risk of developing hay fever and eczema, while not having any clear effect on the risk of asthma.

https://www.sciencedaily.com/releases/2017/11/171113111104.htm