chore: fix eslint errors that got to master from outdated MR
fix: remove the broken code related to creating user snippets was a bit outdated and included a code that violated eslint rule chore: enable no-floating-promises eslint rule.
This small change fixes broken master.