{"id":15077877,"url":"https://github.com/tobysmith568/prettier-plugin-ignored","last_synced_at":"2025-06-18T06:32:36.071Z","repository":{"id":255435738,"uuid":"849576015","full_name":"tobysmith568/prettier-plugin-ignored","owner":"tobysmith568","description":"A Prettier plugin that adds an 'ignored' language, allowing you to ignore files without listing them in a .prettierignore file.","archived":false,"fork":false,"pushed_at":"2025-06-02T21:27:15.000Z","size":229,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-03T11:58:21.355Z","etag":null,"topics":["formatter","formatting","npm-package","prettier","prettier-plugin"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/prettier-plugin-ignored","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tobysmith568.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null}},"created_at":"2024-08-29T21:01:14.000Z","updated_at":"2025-06-02T21:27:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"e2a50f97-d2e6-4d2e-9fb5-1c7d48f41946","html_url":"https://github.com/tobysmith568/prettier-plugin-ignored","commit_stats":{"total_commits":10,"total_committers":2,"mean_commits":5.0,"dds":0.09999999999999998,"last_synced_commit":"da0bd1b45e51801ee6061424eba15b64ffd4d5c4"},"previous_names":["tobysmith568/prettier-plugin-ignored"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/tobysmith568/prettier-plugin-ignored","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobysmith568%2Fprettier-plugin-ignored","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobysmith568%2Fprettier-plugin-ignored/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobysmith568%2Fprettier-plugin-ignored/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobysmith568%2Fprettier-plugin-ignored/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tobysmith568","download_url":"https://codeload.github.com/tobysmith568/prettier-plugin-ignored/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobysmith568%2Fprettier-plugin-ignored/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260505982,"owners_count":23019408,"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":["formatter","formatting","npm-package","prettier","prettier-plugin"],"created_at":"2024-09-25T04:33:19.357Z","updated_at":"2025-06-18T06:32:31.058Z","avatar_url":"https://github.com/tobysmith568.png","language":"TypeScript","readme":"# prettier-plugin-ignored\n\nA Prettier plugin that adds an 'ignored' language, allowing you to ignore files without listing them in a `.prettierignore` file.\n\n\u003ca href=\"https://www.npmjs.com/package/prettier-plugin-ignored\"\u003e\n  \u003cimg alt=\"npm\" src=\"https://img.shields.io/npm/v/prettier-plugin-ignored?logo=npm\"\u003e\n\u003c/a\u003e\n\n\u003ca href=\"https://license-cop.js.org\"\u003e\n  \u003cimg alt=\"Protected by: License-Cop\" src=\"https://license-cop.js.org/shield.svg\"\u003e\n\u003c/a\u003e\n\n## Why is this useful?\n\nWhile Prettier configs can be shared across multiple repositories via npm packages, `.prettierignore` files cannot. This plugin solves that limitation by allowing you to configure which files should be ignored directly in the Prettier config. As a result, you can share ignored files across multiple repositories.\n\nThe plugin extends Prettier with a new language called 'ignored'. When Prettier encounters a file with this language, it formats it to be exactly as it was found, effectively ignoring it.\n\n## Installation\n\n```pwsh\nnpm install --save-dev prettier-plugin-ignored\n```\n\n## Usage\n\nAdd the plugin to your Prettier config and override specific files to use the 'ignored' parser.\n\nFor example, here I'm using it to always ignore `pnpm-lock.yaml` files and json files in `public` directories:\n\n```jsonc\n{\n  \"plugins\": [\"prettier-plugin-ignored\"],\n\n  // Other config options...\n\n  \"overrides\": [\n    {\n      \"files\": [\"pnpm-lock.yaml\", \"public/**.json\"],\n      \"options\": {\n        \"parser\": \"ignored\"\n      }\n    }\n  ]\n}\n```\n\n## License\n\nprettier-plugin-ignored is licensed under the [ISC license](./LICENSE.md).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftobysmith568%2Fprettier-plugin-ignored","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftobysmith568%2Fprettier-plugin-ignored","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftobysmith568%2Fprettier-plugin-ignored/lists"}