I want to standardize the use of Q promises in my command codebase. Are there any good jsc extensions (or other linters) to help provide style when it comes to promises?
We would like our promises to follow this form:
promise() .then() .catch() .done();
And I would like linter to catch any .then() in our code, which is missing .catch()
Advice on other stylistic tips when it comes to promises is also welcome.
source share