Incandescent lighting must be completely enclosed, otherwise use a florescent light. -410.8(B)(1)
Surface-mounted incandescent lights must be 12 in from nearest point of a storage space. Surface-mounted florescent lights must be 6 in from nearest point of a storage space. - 410.8(D)(1) & (2)