Added exclusions to spam detector for github and npmjs


(Rebecca Turner) #1

The Discourse spam detector would flag posts from newer users that had too many links to the same domains. This is a reasonable and common action with both github.com and npmjs.com. I’ve added both of these domains to its exclusion list, so they won’t be counted when it’s counting links. Hopefully this will reduce the false-positive rate a great deal.