question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TSlint does not seem to run

See original GitHub issue

Hi I’ve used the vscode-tslint until now, but just changed to this since the other is deprecated. But having installed this extension instead, it seems like nothing happens. There is no TSlint output and no TSlint lines in the files. Can I do anything wrong? Shouldn’t it just replace the other with same settings.

Using vscode: 1.31.1 32-bit on Windows 10

This is the Log(Extension host output):

[2019-02-26 14:46:58.111] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode.vscode-typescript-tslint-plugin {"startup":false,"activationEvent":"onLanguage:typescriptreact"}
[2019-02-26 14:46:58.111] [exthost] [info] ExtensionService#loadCommonJSModule C:\Users\user\.vscode\extensions\ms-vscode.vscode-typescript-tslint-plugin-1.0.0\out\index.js

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:16
  • Comments:41 (4 by maintainers)

github_iconTop GitHub Comments

14reactions
coldsparkcommented, Mar 9, 2019

I was too struggling with this for quite some time. This process works for me:

  1. install -> tslint 1.0.0 plugin.
  2. run -> npm install -g typescript tslint (yarn global doesn’t work)
  3. drop -> tslint.json in workspace root
  4. restart -> vscode
  5. select vscode typescript version (ctrl+shift+p -> typescript:select typescript version -> use vscode version)
  6. take a deep breath
  7. open any .ts file and write some bad code 😃
10reactions
emilio-martinezcommented, Mar 26, 2019

This doesn’t make any sense. I’ve tried the setup people suggest a few different ways, and I can’t get a single warning 🤕 the deprecated extension worked like a charm

Read more comments on GitHub >

github_iconTop Results From Across the Web

TSLint extension throwing errors in my Angular application ...
Go to the Command Palette by pressing Ctrl + Shift + P , · In the input that pops up at the top...
Read more >
TSLint - Visual Studio Marketplace
This extension works using VS Code's built-in version of TypeScript and a local or global install of tslint. You do not need to...
Read more >
enable tslint in vscode - YouTube
enable tslint in vscodePreRequiste:Have typescript installed. npm install typescriptInstall tslint ... Your browser can ' t play this video.
Read more >
Testing Rules
Every TSLint rule has a corresponding directory inside test/rules/ which contains ... A tslint.json file which specifies the configuration for TSLint to use...
Read more >
Linting TypeScript | WebStorm Documentation - JetBrains
To have WebStorm look for a tslint.json, tslint.yaml, or tslint. · To use a custom file, choose the Configuration File option and specify...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found