Formats TypeScript files by running Prettier followed by tslint --fix. Latest version 0.4.2 (Jan 2019) is stable but unmaintained; peer dependencies require prettier ^1.7.4 and typescript ^2.5.3 || ^3.0.0. Provides CLI commands `fix` and `check`, and a programmatic API. No additional configuration beyond existing .prettierrc and tslint.json. Designed for projects migrating from TSLint to Prettier; now deprecated in favor of prettier + eslint.
npm install prettier-tslintVerified import paths — ran on the pinned version, not inferred.
Installs peer dependencies and runs prettier-tslint fix on all TypeScript files in src/.
Migrate to prettier + eslint with @typescript-eslint/parser.
Assume fix modifies files in place; check file after call for verification.
Ensure tslint rules are compatible with Prettier formatting to avoid conflicts.
Explicitly install prettier and typescript in the project.
npm install --save-dev prettier
npm install --save-dev typescript
Ensure the file is valid TypeScript and use compatible TSLint version (5.x).
Use `prettier-tslint fix <files>` instead.