I find the plain infinitive better in negative forms: I didn't use to like her. However, I didn't use d to like her is also considered correct in many dictionaries, such as the Collins Dictionary. This dictionary would prefer I used not to like her in formal contexts.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.