Basically all dried spices will last 2-3 years in a cool dark dry place
Get a fresh rotation every 3 years you are golden, anything I get is used up long before that so it is a non-issue. Rotate every year for stronger flavors, as spices do lose some potency over time.
Only thing I have that is old is some koko samoa from 3 years ago I used to make one dish one time, and I could never get a straight answer how long it stays good for. I don't see any mold.