I want to add
"@typescript-eslint/no-invalid-void-type": [
"error"
]
to my .eslintrc file, and I fixed 50 errors by changing void to undefined but there's one error that could not be fixed.
Here is an image of the error shown.
I would like to ignore it through configuring the setting in my .eslintrc file, but change undefined back to void on Promise<undefined|FeedbackThread[]>. How can I do so? For example, I know there are some fields like
"anonymous": "never",
"asyncArrow": "never",
"named": "never"
and I think I just need one field set to "never" in order for it to work. Thanks for your help in advance!