Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using eslint.nodePath globally rather than locally, yet on every new window: The eslint.nodePath setting requires user confirmation. To do so execute the Select Node Path command. #1203

Closed
garyking opened this issue Mar 13, 2021 · 3 comments
Milestone

Comments

@garyking
Copy link

garyking commented Mar 13, 2021

Hello, since the 2.1.17 version, whenever I open a new window in VSC, I get a notification with the message: The eslint.nodePath setting requires user confirmation. To do so execute the Select Node Path command.

If I run Select Node Path on that window, then I no longer get the notification for that window. But for every new window, I still get the notification.

How can I permanently disable this notification? It only started appearing in the 2.1.17 version of this extension, released recently.

I do have the eslint.nodePath setting set, which I assume is related.

I notice in the changelog that it says this message should only appear if eslint.nodePath is defined locally in a workspace, but I'm using it in my global user settings in VSC.

@garyking garyking changed the title On every new window: The eslint.nodePath setting requires user confirmation. To do so execute the Select Node Path command. Using eslint.nodePath globally rather than locally, yet on every new window: The eslint.nodePath setting requires user confirmation. To do so execute the Select Node Path command. Mar 13, 2021
@cweekly
Copy link

cweekly commented Mar 15, 2021

I'm not a maintainer here, and I don't have this issue, but I did just finish overhauling my linting setup and it's working as it should.

I don't have a settings entry for eslint.nodePath.
I do have:

"eslint.nodeEnv": "/Users/cweekly/n/bin/node",  
"eslint.runtime" "/Users/cweekly/n/bin/node",  

Good luck!

@dbaeumer
Copy link
Member

@garyking thanks for reporting. This is unintended and I am looking into fixing it.

@dbaeumer dbaeumer added this to the 2.1.19 milestone Mar 15, 2021
@dbaeumer
Copy link
Member

Shipped 2.1.19

Sebastianokunkelo pushed a commit to Sebastianokunkelo/vscode-eslint that referenced this issue Mar 16, 2021
…cally, yet on every new window: `The eslint.nodePath setting requires user confirmation. To do so execute the Select Node Path command.`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants