You describe a "lampholder" and a lampholder is not, and never was a fixture, so the lampholders in a closet are illegal! Look at 410.8 in the NEC .....


Joe Tedesco, NEC Consultant