eslint-plugin-neverthrow icon indicating copy to clipboard operation
eslint-plugin-neverthrow copied to clipboard

Fix: #10

Open Bistard opened this issue 1 year ago • 2 comments

Changes

  1. Refactor and fix: Wrap the assignment check using a helper handleAssignation.
  2. Feat: Adding AwaitExpression node selector (this fix #10)
  3. Feat: Try to mark the first assigned variable to be reported if possible.

Bistard avatar Jan 20 '24 20:01 Bistard

I haven't write the unit test yet.

Bistard avatar Jan 20 '24 20:01 Bistard

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.

Bistard avatar Jan 20 '24 21:01 Bistard