Cedar repells the moths that eat wool.
Usually the walls and the ceiling are paneled, but not the floor. Wouldn't hurt to do the floor also, but I've never seen this.
Any moths that get into the closet won't survive long.
Cedar is used in blanket boxes and chests also!