{"id":15647765,"url":"https://github.com/ikatyang/prettylint","last_synced_at":"2025-04-13T18:40:58.645Z","repository":{"id":26167819,"uuid":"107537734","full_name":"ikatyang/prettylint","owner":"ikatyang","description":"Run Prettier as a linter","archived":false,"fork":false,"pushed_at":"2023-12-06T00:28:02.000Z","size":305,"stargazers_count":43,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T22:04:44.217Z","etag":null,"topics":["linter","prettier"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/ikatyang.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-19T11:31:21.000Z","updated_at":"2024-06-14T20:28:29.000Z","dependencies_parsed_at":"2024-06-18T18:15:58.779Z","dependency_job_id":"6ba21e32-a853-4163-863d-8dfb1fe469f4","html_url":"https://github.com/ikatyang/prettylint","commit_stats":{"total_commits":191,"total_committers":4,"mean_commits":47.75,"dds":0.3089005235602095,"last_synced_commit":"c00dadd18374b663d1333667271681d51ae9c68b"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikatyang%2Fprettylint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikatyang%2Fprettylint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikatyang%2Fprettylint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikatyang%2Fprettylint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ikatyang","download_url":"https://codeload.github.com/ikatyang/prettylint/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248764370,"owners_count":21158073,"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":["linter","prettier"],"created_at":"2024-10-03T12:20:59.087Z","updated_at":"2025-04-13T18:40:58.616Z","avatar_url":"https://github.com/ikatyang.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# prettylint\n\n[![npm](https://img.shields.io/npm/v/prettylint.svg)](https://www.npmjs.com/package/prettylint)\n[![build](https://img.shields.io/github/actions/workflow/status/ikatyang/prettylint/test.yml)](https://github.com/ikatyang/prettylint/actions?query=branch%3Amaster)\n\nRun Prettier as a linter\n\n[Changelog](https://github.com/ikatyang/prettylint/blob/master/CHANGELOG.md)\n\n## Sample\n\n```\n$ prettylint \"**/*.ts\"\n\n  src/diagnose.ts:14:13\n  ⚠  14:13  Delete ·                                          prettier/prettier\n  ⚠  15:14  Insert ·                                          prettier/prettier\n  ⚠  47:34  Replace \"\" with ''                                prettier/prettier\n\n  3 warnings\n```\n\n## Install\n\n```sh\nnpm install prettylint\n```\n\n## Usage\n\n```sh\nUsage\n  $ prettylint [options] [file/dir/glob ...]\n\nOptions\n  --no-config           Do not load config file.\n  --config \u003cpath\u003e       Specify the config file.\n  --no-editorconfig     Do not load .editorconfig\n  --fix                 Fix linting errors.\n  --format \u003cpath\u003e       Specify the module to format output.\n                        Defaults to \"eslint-formatter-pretty\".\n  --ignore-path \u003cpath\u003e  Specify the .ignore file.\n                        Defaults to [\".gitignore\", \".prettierignore\"].\n  --silent              Do not print message.\n  --with-node-modules   Process files inside 'node_modules' directory.\n  -h, --help            Show help.\n  -v, --version         Show version.\n\nExamples\n  $ prettylint .\n  $ prettylint . --fix\n```\n\n## Development\n\n```sh\n# lint\npnpm run lint\n\n# build\npnpm run build\n\n# test\npnpm run test\n```\n\n## License\n\nMIT © [Ika](https://github.com/ikatyang)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fikatyang%2Fprettylint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fikatyang%2Fprettylint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fikatyang%2Fprettylint/lists"}