{"id":21820880,"url":"https://github.com/zaherg/prettier-config","last_synced_at":"2025-06-28T16:37:36.893Z","repository":{"id":239446491,"uuid":"799566946","full_name":"zaherg/prettier-config","owner":"zaherg","description":"My personal prettier config (my first npm package)","archived":false,"fork":false,"pushed_at":"2024-06-02T04:24:42.000Z","size":176,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-05T10:06:53.863Z","etag":null,"topics":["code-formatting","npm","personal-config","prettier-config"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@zaher/prettier-config","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/zaherg.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2024-05-12T14:28:00.000Z","updated_at":"2024-06-02T04:24:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"7d427bf7-01b9-472e-a649-78fce6aa552d","html_url":"https://github.com/zaherg/prettier-config","commit_stats":null,"previous_names":["zaherg/prettier-config"],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaherg%2Fprettier-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaherg%2Fprettier-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaherg%2Fprettier-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaherg%2Fprettier-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zaherg","download_url":"https://codeload.github.com/zaherg/prettier-config/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246266493,"owners_count":20749808,"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":["code-formatting","npm","personal-config","prettier-config"],"created_at":"2024-11-27T16:39:36.278Z","updated_at":"2025-03-30T02:21:16.732Z","avatar_url":"https://github.com/zaherg.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Prettier Config\n\nThis is my personal prettier configuration that I use most of the time, feel free to use it or create your own based on it.\n\n### Included plugins\n\nFor easy use, I have included multiple prettier plugins, you can visit each if you want to configure them:\n\n1. [Sort imports](https://github.com/trivago/prettier-plugin-sort-imports)\n2. [Prisma](https://github.com/umidbekk/prettier-plugin-prisma)\n3. [toml](https://github.com/un-ts/prettier/tree/master/packages/toml)\n4. [Tailwindcss plugin](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/)\n\nYou can check each one of them to know what options you can use and how to use them.\n\n### Usage\n\n#### Via package.json\n\nTo use it:\n\n1. Install the package `npm install @zaher/prettier-cofig --save-dev`\n2. Update your `package.json` file, and add the following to it:\n\n```json\n{\n\t// ...\n\t\"prettier\": \"@zaher/prettier-config\"\n}\n```\n\n#### Extending the config\n\nIf you want to update any of the config while keeping the other one you can create your own `.prettierrc.js` file and require this package within it, then update the one you want to change, like\n\n```javascript\nmodule.exports = {\n\t...require('@zaher/prettier-config'),\n\t// Override values here\n};\n```\n\nThis way your local file will be picked up automatically, while also using the other values from the package (where the local file imports and spreads the config from the package) .\n\nThis package is released under the [MIT licnese](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaherg%2Fprettier-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzaherg%2Fprettier-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaherg%2Fprettier-config/lists"}