Wikimedia has its own ESLint config specific to QUnit tests. If we're going to keep using QUnit, we should probably use the lint rules which may help us avoid pitfalls.
This task encompasses the work to extend the wikimedia/qunit ESLint config for QUnit tests only, either via a subdirectory configuration or an overrides env rule and fix any violations automatically via --fix where supported and manually otherwise.