I have a walk-in closet where I would like to put a switched light ceiling-mounted fixture.
According to NEC can I put the switch inside the closet (next to the door), or does the switch need to be on the wall, outside the closet?
I would prefer a citation of the code (if there is one) so I can ensure I follow the rules.