Thursday, April 12, 2018

Set up TSLint in Visual Studio 2017

How to set up TSLint for Visual Studio 2017

1. Lovingly craft a tslint.json file in your project directory
2. Run this command in your project directory:
    npm install typescript tslint tslint-language-service
3. Add this to the compileroptions section of your tsconfig.json file:
  "plugins": [
      "name": "tslint-language-service"
4. Enjoy TSLint goodness in Visual Studio

Special thanks to Angelozerr for the service: