In my case running "ESLint: Fix - all auto-fixable Problems" from VS Code resulted in adding a blank like after my import statement that fixed the error.