I did it a few times. Not code but simply because the switch was in the same box as the GFI recep. Since it was a dedicated circuit, it was easier to do it this way then run a separate light feed and it made no sense to have the option there and not use it. Never had any nuisence tripping.
Re: Shower lights....#53494 06/27/0508:34 AM06/27/0508:34 AM
When I wired my house I placed the shower recessed on the GFI. Just because I thought it to be a good idea. Just don't forget this when you think the bulb is blown. Might just be a tripped GFI. (Been There Done That)
(edited for spelling)
[This message has been edited by luckyshadow (edited 06-27-2005).]
HLC the original question was about light fixtures (not fans) and I was just curious as to why people gfci them in this situation. I susupect the answer would be something like "it seems like a good idea".