It is absolutely a violation to install a bare or even partially covered lamp in a closet. NEC article 410.8 (C) A fluorescent strip over the door is the best bet provided it has six inches clearance from the storage area.