ESLint plugin with rules specific to QUnit testing framework. Current stable version is 8.2.6, released February 2026. The plugin provides 20+ rules including recommended configurations for catching common QUnit mistakes (e.g., assert argument order, async handling, global usage). Actively maintained, supporting ESLint 8 and 9 with flat config support since v8.1.0. Ships TypeScript types since v8.2.0. Compared to generic linting, it catches QUnit-specific runtime errors and anti-patterns. Peer dependency on eslint >=8.38.0.
npm install eslint-plugin-qunitVerified import paths — ran on the pinned version, not inferred.
Set up ESLint with QUnit plugin flat config and custom rule overrides.
Migrate to eslint.config.js using import syntax; see QUnit plugin v8.1.0 release notes.
Review test code and fix assertion arguments to match QUnit's expected interface, or adjust rule severity.
Replace assert.equal with assert.deepEqual or assert.propEqual for deep comparison, or assert.strictEqual for strict equality (if strict equality is intended).
Use 'no-commented-tests' from eslint-plugin-qunit at your own risk; consider custom ESLint disable comments instead.
Use import statement as shown in quickstart; see v8.1.0 migration notes.
Run npm install eslint-plugin-qunit --save-dev in your project root.
Set 'sourceType': 'module' in parserOptions, or rename to eslint.config.js.
Set severity as number: 'qunit/no-assert-equal': 2 (error) or 'error'.