Removes custom test/reporter.js from the lint process

Fixes #4544 and 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.

When this PR lands, we must configure the Windows bot to not ignore lint results anymore.