Disallows the .done/.fail methods. Prefer .then.
📋 This rule is enabled in plugin:no-jquery/all.
❌ Examples of incorrect code:
promise.done( callback );
promise.fail( callback );✔️ Examples of correct code:
promise.then( doneCallback, failCallback );
done();
fail();