When I place this code for a promise that the result is not needed to proceed:
await resultNotNeeded(bla, foo);
I'm getting this eslint error:
[eslint] Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
If the code is like this:
const dummy = await resultNotNeeded(bla, foo);
Then the eslint error is:
[eslint] 'dummy' is defined but never used (no-unused-vars)
Anyone knows how this should be fixed (I know I could do // eslint-disable-line no-unused-expressions
but I'm looking if there is a better syntax for this statement.