eslint-plugin-no-floating-promise
eslint-plugin-no-floating-promise copied to clipboard
Plugin fails with vscode-eslint - entry point issues
The popular VS Code plugin is failing with this plugin. It doesn't like the entry point specification
"main": "lib/index.js",
Changing this to
"main": "./lib/index.js",
fixes the issue. As does moving the files to the root and using "index.js"
The error is with the plugin - but perhaps worth making the change anyway.