Baby swing

Opinions on letting baby sleep in swing? Either for nap or during the night. My baby who’s not even two weeks yet seems to sleep so much better in the swing.