A custom formatter for TSLint that outputs lint results in a format compatible with the Visual Studio Error List window (v0.8.0). This package requires TSLint v5 or higher and is designed for developers using Visual Studio who want integrated linting feedback. It is a lightweight adapter, with no active development since 2019. The formatter must be used via TSLint's --formatters-dir option. Note that TSLint itself is deprecated in favor of ESLint, and this package is effectively unmaintained.
npm install visualstudio-tslint-formatterNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates how to install and use the formatter with TSLint CLI, resolving the directory path programmatically.
Migrate to ESLint with @typescript-eslint/parser.
Ensure tslint is installed at version 5.x.
Always specify --formatters-dir path/to/node_modules/visualstudio-tslint-formatter
Use: tslint --formatters-dir node_modules/visualstudio-tslint-formatter --format visualstudio-tslint-formatter
Add --formatters-dir <path-to-node_modules/visualstudio-tslint-formatter>