Sublime Forum

Issue with sublimelinter and WSL

#1

so whenever I first open a file there is this error message:

SublimeLinter: #10 eslint ActivatableElement.js ERROR:
======================================================

"\\wsl$\openSUSE-Leap-15.2\home\nils\workspace\lupax"
CMD.EXE wurde mit dem oben angegebenen Pfad als aktuellem Verzeichnis gestartet.
UNC-Pfade werden nicht unterst�tzt.
Stattdessen wird das Windows-Verzeichnis als aktuelles Verzeichnis gesetzt.

for anyone not being able to read the German, cmd.exe can’t be started in wsl (“UNC”) path, will use windows path instead. The linting works fine though. I’m just wondering

0 Likes

#2

Supporting WSL requires the plugin (SublimeLinter) to detect the process being part of an wsl environment, call it using the correct shell (bash) and translate all paths in command line arguments.

GitGutter does that to support git binaries being run from within WSL.

0 Likes