enable tslint in vscode
PreRequiste:
Have typescript installed.
npm install typescript
Install tslint globally and as dev dependency
npm install –g tslint ( to enable to generate ts Config)
npm install –only=dev tslint
Generate the tslint config
tslint –init
Add the linting in the scripts in package.json
"lint": "tslint ‘src/**/*.ts’”
To enable automatically linting on your files in VS Code
Open the command Palette :
Ctrl+Shift+P
Execute the command:
TSLint: Manage workspace library execution"
Смотрите видео enable tslint in vscode онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Programming with Karthik 25 Декабрь 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 7,026 раз и оно понравилось 32 людям.