Sometimes .vsconfig is located outside the .vs/ directory and won't be picked up by the ignore pattern above. Confirmed on Unity 6.