Linter warnings - Stuk/promise-me GitHub Wiki
If a promise is not chained, not returned, and not set to a property:
- With Q, it must have
.done()
at the end of the chain to surface errors. - With Promises/A+, it must have an error handler in the last
then
of the chain.