Closed zy2ba closed 1 year ago
floating promises may be ignored by adding leading "void" keyword
Please check if your PR fulfills the following requirements:
What kind of change does this PR introduce?
Trying to ignore floating promises like this:
void this.router.navigate(['']);
throws error from no-void rule
no-void rule allow usage as statement
floating promises may be ignored by adding leading "void" keyword
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Trying to ignore floating promises like this:
throws error from no-void rule
What is the new behavior?
no-void rule allow usage as statement
Does this PR introduce a breaking change?