Skip to content

Set runtime dynamically / to system default #1233

Closed
@JakobJingleheimer

Description

@JakobJingleheimer

ESlint is using VS Code's old, built-in version of NodeJS (v12) as provided by Electron.

I want to use the current version, which is already installed (via nvm).

As the version will change as I update to new releases, I want to specify the system's version of node (eg which node).

When I run the command "ESLint: Select Node Runtime", the only option is VS Code's built-in.

I tried setting "eslint.runtime": "$(which node)" in settings.json, but the eslint server barfs.

P.S. I read through the README of this repo, and it provided almost no information about this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    info-neededIssue requires more information from poster

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions