eslint-plugin-no-floating-promise icon indicating copy to clipboard operation
eslint-plugin-no-floating-promise copied to clipboard

Plugin fails with vscode-eslint - entry point issues

Open RobertSandiford opened this issue 3 years ago • 1 comments

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.

RobertSandiford avatar Oct 17 '21 15:10 RobertSandiford