I keep my eyeshadows for a very long time something I just cannot seem to part with. I would think that you would throw them away when they start forming a crusty layer on top of it or once you start seeing anything funky. Trust me when your eyeshadow is old you will definitely know.
Hope that helps
Stay Beautiful…Indulge Yourself