Promise
4 rules oxlint@1.95.0
Complete effective rule inventory.
Rules
No enabled Promise rules match this search.
-
promise/no-new-staticsDisallow calling
newon aPromisestatic method. -
promise/no-return-in-finallyDisallow return statements in
finally()callbacks. -
promise/prefer-catchPrefer
.then().catch()over.then(…, …)for error handling. -
promise/valid-paramsEnforce the number of arguments
Promisemethods accept.