Closets are one of the few places where the electrical code tells you exactly which light fixtures you can and can’t use.
Getting closet lighting code right matters more than it looks. A closet packs combustible material against the walls and ceiling, so the NEC restricts both the fixture types allowed and how close they can sit to stored contents. Get it wrong and you either fail inspection or create a fire risk. Get it right and a small closet gains real usability.