I had to clean out the lightning port on my iPhone 6 constantly, it was awful. With the XS I almost exclusively use wireless charging because of that experience.
Cannot comment regarding iPhone 6 specifically, as I had been using Android phones after iPhone 4 up until XS generation came out. It might be that Apple has upgraded the lightning port tech over all those years between iPhone 6 and XS, but that's just a guess.