Raccoons and skunks have some overlapping dislikes, though there are differences:
Raccoons: Strong smells (ammonia, bleach, peppermint), bright lights, loud noises, open containers with tight lids, and predator scents (dogs, coyotes).
Skunks: Loud noises, bright lights, strong smells, predator scents, and water (they are not strong swimmers).
Both: Human presence and unfamiliar environments.
These are general tendencies; individual animals may vary.