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
Note that the tslint module has a peer dependency on the typescript module, therefore you must install both tslint and typescript to enable vscode-tslint.
Test
Without having tslint and typescript installed try to lint a .ts file. Create a tslint.json file using the command palette.
Verify that the status bar item shows an error and the output channel shows the reason.
Install tslint and the typescript once locally and globally
Verify that you get warnings from tslint
Use the setting tslint.nodepath to install tslint and typescript into another location
Create an error in the tslint.json file. There are two different error situations:
a syntax error in the JSON file, then tslint doesn't attempt to lint
a misspelled rule name, this is detect at run-time only
Verify that the status item indicates an error in both cases. Clicking the status bar item opens the output channel.
The text was updated successfully, but these errors were encountered:
Test for Microsoft/vscode-tslint#86
Complexity - 3
vscode-tslint is now supporting:
tslint.nodePath
setting enables to load tslint from a different location than the current workspace or the globally installed npm modules`.tslint.json
file.Set up
git clone https://github.com/Microsoft/vscode-tslint
cd vscode-tslint
npm install
on both folders "tslint" and "tslint-server"vsce package
-> produces tslint-0.5.40.vsixcode-insiders --install-extension tslint-0.5.40.vsix
tslint
module has a peer dependency on thetypescript
module, therefore you must install bothtslint
and typescript to enablevscode-tslint
.Test
tslint.json
file using the command palette.tslint.nodepath
to install tslint and typescript into another locationThe text was updated successfully, but these errors were encountered: