Fix the unused-classes rule to allow the whitelist to be a single RegExp as well as a list or strings or RegExps.