This research article looks interesting – it’s about how people in the enlightenment became more skeptical about magic, but they could only do so once it was more permissible to have irreligious ideas:
THE DECLINE OF MAGIC: CHALLENGE AND RESPONSE IN EARLY ENLIGHTENMENT ENGLAND
MICHAEL HUNTER (2012).
The Historical Journal, Volume 55,
Issue 02, June 2012 pp 399-425
The article is behind a pay wall though – so you’ll either have to be at a University or be able to pay for it to read the whole thing, but the abstract is free.