This extension has been deprecated and replaced by new versions, one for Visual Studio 2022, and one for Visual Studio 2019 and Visual Studio 2017.For more details see our documentation. This is 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. Underlining of errors and warnings in color has also been added. Some more information on these upgrades can be found on the project's Github site. The TypeScript Analyzer runs on opening or saving a file, and can also be run for a specific file or project 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. |