eslint-plugin-no-floating-promise
eslint-plugin-no-floating-promise copied to clipboard
Add code to validate assignation
I'm making this PR on behalf of Javier since I noticed they forked this repo to add this functionality and never upstreamed their change
I haven't merged this PR because I would like to see tests written to make sure this works before merging it.
Could this be merged? I would really love being able to show an error even on variable assignment.
(This does fix https://github.com/SebastienGllmt/eslint-plugin-no-floating-promise/issues/7 , right?)