eslint-plugin-neverthrow
eslint-plugin-neverthrow copied to clipboard
Fix: #10
Changes
- Refactor and fix: Wrap the assignment check using a helper
handleAssignation
. - Feat: Adding
AwaitExpression
node selector (this fix #10) - Feat: Try to mark the first assigned variable to be reported if possible.
I haven't write the unit test yet.
I just noticed that wrapping into handleAssignation
does not fix anything (I thought it will fix a problem but it does not).
But I am still keeping the changes since it improves readability.