💼 This rule is enabled in the ✅ recommended
config.
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.