promise/valid-params Correctness
What it does
Enforces the proper number of arguments are passed to Promise functions.
Why is this bad?
Calling a Promise function with the incorrect number of arguments can lead to unexpected behavior or hard to spot bugs.
Example
javascript
Promise.resolve(1, 2);