An extension to Visual Studio 2017 and Visual Studio 2019 that runs TSLint on TypeScript files.
This is a version of Mads Kristensen's Web Analyzer for Visual Studio 2015. It has been upgraded to Visual Studio 2017 and Visual Studio 2019. Support for ESLint, CSSLint and CoffeeLint has been removed, as this is available in Visual Studio itself. Only support for TSLint has been retained.
Please refer to Mads Kristensen's documentation for the Web Analyzer for a full list of features.Please note that the TypeScript Analyzer requires a Visual Studio solution file to work: it will not work if you just open a folder in Visual Studio.
Further upgrades have been made subsequently, including upgrading to the latest version of TSLint. This contains more rules and allows configuration of errors/warnings. The TypeScript Analyzer allows for attempted fixing of linting errors using TSLint's fixers. It can be run on a build, and fail the build if there are errors. It can also lint based on the contents of tsconfig.json files rather than Visual Studio's project files, and as a result can use TSLint's semantic lint rules.
Note that the menu options for the TypeScript Analyzer are separate from the menu options for the ESLint, CSSLint and CoffeeLint in Visual Studio ('Web Code Analysis'). In particular the TypeScript Analyzer can be run for a specific file or files by right-clicking in Solution Explorer and selecting 'Run TypeScript Analyzer'. Settings can be edited using Tools/TypeScript Analyzer/Edit TSLint settings. TypeScript Analyzer also has its own entry in the menu in Tools/Options.