{"id":14984160,"url":"https://github.com/azz/prettier-tslint","last_synced_at":"2025-10-27T20:41:24.347Z","repository":{"id":41165350,"uuid":"107012645","full_name":"azz/prettier-tslint","owner":"azz","description":"Code ➡️ prettier ➡️ tslint --fix ➡️ Formatted Code ✨","archived":false,"fork":false,"pushed_at":"2022-12-07T10:02:05.000Z","size":858,"stargazers_count":225,"open_issues_count":24,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T16:44:18.761Z","etag":null,"topics":["prettier","tslint","typescript"],"latest_commit_sha":null,"homepage":"https://npm.im/prettier-tslint","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/azz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-15T13:04:01.000Z","updated_at":"2024-09-20T17:07:21.000Z","dependencies_parsed_at":"2023-01-24T16:31:58.359Z","dependency_job_id":null,"html_url":"https://github.com/azz/prettier-tslint","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azz%2Fprettier-tslint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azz%2Fprettier-tslint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azz%2Fprettier-tslint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azz%2Fprettier-tslint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/azz","download_url":"https://codeload.github.com/azz/prettier-tslint/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247276163,"owners_count":20912288,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["prettier","tslint","typescript"],"created_at":"2024-09-24T14:08:34.294Z","updated_at":"2025-10-27T20:41:19.312Z","avatar_url":"https://github.com/azz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# prettier-tslint\n\nFormats your TypeScript using [`prettier`](https://github.com/prettier/prettier)\nfollowed by [`tslint --fix`](https://github.com/palantir/tslint).\n\n[![Travis](https://img.shields.io/travis/azz/prettier-tslint.svg?style=flat-square)](https://travis-ci.org/azz/prettier-tslint)\n[![Prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)\n[![npm](https://img.shields.io/npm/v/prettier-tslint.svg?style=flat-square)](https://npmjs.org/prettier-tslint)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square)](https://github.com/semantic-release/semantic-release)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](LICENSE)\n\n## Install\n\nWith `npm`:\n\n```bash\nnpm install --save-dev prettier-tslint\n```\n\nOr with `yarn`:\n\n```bash\nyarn add --dev prettier-tslint\n```\n\n`prettier-tslint` allows you to install your own version of `prettier` and\n`typescript`, so make sure you've installed them, too.\n\n## Configuration\n\n`prettier-tslint` find and will respect:\n\n* `prettier`'s `.prettierrc`, or any other config file such as `package.json`.\n* `prettier`'s `.prettierignore` file.\n* `tslint`'s `tslint.json`.\n\n`prettier-tslint` has no additional configuration.\n\n## CLI\n\n```\nCommands:\n  fix    Fix one or more files\n  check  List files that aren't formatted\n\nOptions:\n  --version  Show version number                                       [boolean]\n  --help     Show help                                                 [boolean]\n\nExamples:\n  prettier-tslint fix file1.ts file2.ts  Fix provided files\n  prettier-tslint fix '**/*.ts'          Fix all TypeScript files\n  prettier-tslint check '**/*.ts'        List all unformatted TypeScript files\n```\n\n## API\n\n```js\nimport { fix, check } from \"prettier-tslint\";\n\ncheck(\"file.ts\"); // -\u003e false\nfix(\"file.ts\");\ncheck(\"file.ts\"); // -\u003e true\n```\n\nCurrently the `fix` function will write to disk and not return anything. This behavior **may change** in a minor release before `1.0.0` is released.\n\n## Contributing\n\nSee [`CONTRIBUTING.md`](CONTRIBUTING.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazz%2Fprettier-tslint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fazz%2Fprettier-tslint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazz%2Fprettier-tslint/lists"}