You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is a known issue that the paths in two places are broken for windows:
Quramy/typescript-eslint-language-service#466
Hopefully this gets fixed at the source, but for now setup.sh patches the
corresponding places.
Uh oh!
There was an error while loading. Please reload this page.
We found that this library works well in
posix
(Mac, Unix or using WSL) but it fails when we run it on Windowswin32
.There are a few places that are "sensible" to the path separator (i.e.,
/
or\\
).It would be great to enhance it to work seamlessly. If you agree I will create a PR with such changes, here some details:
The function
isParserModuleNameValid
is looking for the existence ofparserModuleName
, it is used only once as:the module could be made system sensible using
path.join('@typescript-eslint', 'parser')
.typescript-eslint-language-service/src/eslint-adapter.ts
Line 203 in 7f96758
typescript-eslint-language-service/src/eslint-adapter.ts
Line 118 in 7f96758
Something similar around these lines:
typescript-eslint-language-service/src/eslint-config-provider.ts
Line 76 in 7f96758
We can fix it using:
The text was updated successfully, but these errors were encountered: