elicwhite / ESLint-Formatter

Sublime Text 3 Plugin to Autoformat with Eslint
MIT License
139 stars 20 forks source link

WSL Support #63

Open caylorme opened 6 years ago

caylorme commented 6 years ago

This PR provides the ability to use WSL (https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux) for your node/npm installations while running Sublime Text on your Windows host.

New Configuration Option

  // Setting this to true will allow you to use
  // WSL(https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux)
  // for your node/npm installation.
  // Note: Be sure to set your node_path.windows to "node"
  //     and that node is in your WSL's PATH.
  "wsl": false

setting wsl to true will run node within your WSL given that wsl is in your host's $PATH and given that your node_path.windows is in your WSL's $PATH