✅ The "extends": "plugin:qunit/recommended"
property in a configuration file enables this rule.
QUnit 2.0 is deprecating and removing the global expect
function. This rule will warn when the global expect
function is used.
The following pattern is considered a warning:
expect(1);
The following pattern is not considered a warning:
assert.expect(1);
This rule can be safely disabled if you want to tolerate global expect calls, especially if your codebase does not use QUnit 2.0 syntax yet.