Removes custom test/reporter.js from the lint process

Fixes #4544 and hopefully makes lint work on the Windows bot.

- Resolves lint warnings W004 and W018 that were previously ignored.
- Removes custom test/reporter.js from the lint process.