Closed
Description
Test for microsoft/vscode-languageserver-node#79
Complexity: 3
- any OS - @isidorn
- any OS - @roblourens
The module resolving algorithm to load the eslint library has been re-implemented. It now looks for the eslint module in the parent folder of the workspace folder as well. Frist install this ESLint extension
vscode-eslint-1.0.1.zip as a side extension (Note you have to the zip to vsix). Then test from a workspace folder:
- that the eslint is correctly loaded from the workspace folder or any parent folder.
- that the eslint library is correctly loaded from a global npm location as well.
- install eslint lib at a custom location and point the setting eslint.nodePath value to it (if installed in a node_modules folder the node_modules name must be part of the path). Ensure that the eslint library can be loaded.
- install an eslint plugin and configure it in the .eslintrc.json file accordingly. Ensure that the eslint plugin gets loaded correctly as well as long as it is installed at the same 'location' (e.g. node_modules folder) as eslint library itself.