Skip to content

Instantly share code, notes, and snippets.

@rupeshtiwari
Last active April 6, 2021 04:53
Show Gist options
  • Save rupeshtiwari/2859fe99847a105e014985c3975a1b93 to your computer and use it in GitHub Desktop.
Save rupeshtiwari/2859fe99847a105e014985c3975a1b93 to your computer and use it in GitHub Desktop.
Tslint extension throwing errors in angular application
tags
tslint, angular,workspace

TSLint Error: Not using the local TSLint version found for '/Users/myname/myproject/client/src/app/cool/cool.component.ts'. To enable code execution from the current workspace you must enable workspace library execution.

1- Go to Command Palette by pressing Ctrl + Shift + P, 2- In the input that pops up at the top of the VS Code, start typing

TSLint: Manage workspace library execution" and hit Enter key. 3- From the menu that replaces the input, pick enable workspace library execution and again press Enter key.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment