`no-extraneous-dependencies` requeres restarting eslint server in vscode when adding new dependencies
DetachHead opened this issue · comments
to reproduce:
- install the eslint vscode extension
- add an import for a dependency that's not in your
package.json
- once the
no-extraneous-dependencies
error appears, add the dependency to yourpackage.json
the error will stay there until you press F1
and run the ESLint: Restart ESLint Server
task
You have to restart the eslint server (or all of vscode) whenever any dependencies change, this isn't unique to this plugin.
It's an inherent issue with the eslint vscode extension, because eslint rules aren't designed to be long-running.