{"id":21077688,"url":"https://github.com/mathiasgilson/tailwind-styled-component-prettier-plugin","last_synced_at":"2026-04-21T20:02:50.566Z","repository":{"id":122579853,"uuid":"529353768","full_name":"MathiasGilson/Tailwind-Styled-Component-Prettier-Plugin","owner":"MathiasGilson","description":null,"archived":false,"fork":false,"pushed_at":"2022-08-26T18:00:58.000Z","size":295,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-31T10:06:35.924Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/MathiasGilson.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":"2022-08-26T17:45:11.000Z","updated_at":"2022-08-26T17:47:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"639826cb-6d94-410f-8627-77d3e17e724b","html_url":"https://github.com/MathiasGilson/Tailwind-Styled-Component-Prettier-Plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MathiasGilson/Tailwind-Styled-Component-Prettier-Plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathiasGilson%2FTailwind-Styled-Component-Prettier-Plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathiasGilson%2FTailwind-Styled-Component-Prettier-Plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathiasGilson%2FTailwind-Styled-Component-Prettier-Plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathiasGilson%2FTailwind-Styled-Component-Prettier-Plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MathiasGilson","download_url":"https://codeload.github.com/MathiasGilson/Tailwind-Styled-Component-Prettier-Plugin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathiasGilson%2FTailwind-Styled-Component-Prettier-Plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32108187,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T11:25:29.218Z","status":"ssl_error","status_checked_at":"2026-04-21T11:25:28.499Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-11-19T19:37:50.187Z","updated_at":"2026-04-21T20:02:50.545Z","avatar_url":"https://github.com/MathiasGilson.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"**⚠️⚠️⚠️ WIP not fonctional ⚠️⚠️⚠️**\n\nA [Prettier](https://prettier.io/) plugin for Tailwind Styled Component that automatically sorts classes based on [Tailwind recommended class order](https://tailwindcss.com/blog/automatic-class-sorting-with-prettier#how-classes-are-sorted) and based on class groups\n\nGo from infinite line mess 🤮\n\n```tsx\n  \u003cdiv\n      className={\"flex flex-col items-center justify-center bg-red-500 hover:bg-indigo-700 rounded-md border border-transparent w-full px-8 py-3 md:py-4 md:px-10 text-center text-base font-medium text-white md:text-lg\"}\n  \u003e\n      Hello\n  \u003c/div\u003e\n\n```\n\n👇👇👇\n\nTo clean structured classes **Automatically** ✨\n\n```tsx\n  \u003cdiv\n      className={classNames(\n          BUTTON_CLASSES, // inherit classes with auto merge and conflict resolution\n          \n          // classes are sorted by categories for a cleaner look\n          // the order of the categories stays the same\n          // the order of the classes follows tailwind recommendations\n          \"flex flex-col items-center justify-center\",\n          \"bg-red-500 hover:bg-indigo-700\",\n          \"rounded-md border border-transparent\",\n          \"w-full\",\n          \"px-8 py-3 md:py-4 md:px-10\",\n          \"text-center text-base font-medium text-white md:text-lg\",\n          \n          blue \u0026\u0026 `text-blue-400` // clear conditional classes (only one per line)\n      )}\n  \u003e\n      Hello\n  \u003c/div\u003e\n\n```\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathiasgilson%2Ftailwind-styled-component-prettier-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmathiasgilson%2Ftailwind-styled-component-prettier-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathiasgilson%2Ftailwind-styled-component-prettier-plugin/lists"}