{"id":29966441,"url":"https://github.com/ryuapp/deno-lint-plugin-tailwindcss","last_synced_at":"2026-05-05T17:32:18.728Z","repository":{"id":307804214,"uuid":"1029154037","full_name":"ryuapp/deno-lint-plugin-tailwindcss","owner":"ryuapp","description":"A Deno Lint Plugin for Tailwind CSS that automatically sorts classes.","archived":false,"fork":false,"pushed_at":"2025-10-31T14:43:16.000Z","size":142,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-29T21:49:25.565Z","etag":null,"topics":["deno","deno-lint","tailwindcss"],"latest_commit_sha":null,"homepage":"https://jsr.io/@ryu/deno-lint-plugin-tailwindcss","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/ryuapp.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,"zenodo":null}},"created_at":"2025-07-30T15:49:02.000Z","updated_at":"2026-02-16T11:49:38.000Z","dependencies_parsed_at":"2025-08-19T15:05:07.488Z","dependency_job_id":"3473a918-f495-479b-ad50-2bfd03ffcafb","html_url":"https://github.com/ryuapp/deno-lint-plugin-tailwindcss","commit_stats":null,"previous_names":["ryuapp/deno-lint-plugin-tailwindcss"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/ryuapp/deno-lint-plugin-tailwindcss","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryuapp%2Fdeno-lint-plugin-tailwindcss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryuapp%2Fdeno-lint-plugin-tailwindcss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryuapp%2Fdeno-lint-plugin-tailwindcss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryuapp%2Fdeno-lint-plugin-tailwindcss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryuapp","download_url":"https://codeload.github.com/ryuapp/deno-lint-plugin-tailwindcss/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryuapp%2Fdeno-lint-plugin-tailwindcss/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32660254,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"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":["deno","deno-lint","tailwindcss"],"created_at":"2025-08-04T03:00:53.480Z","updated_at":"2026-05-05T17:32:18.707Z","avatar_url":"https://github.com/ryuapp.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @ryu/deno-lint-plugin-tailwindcss\n\n[![CI](https://github.com/ryuapp/deno-lint-plugin-tailwindcss/workflows/CI/badge.svg)](https://github.com/ryuapp/deno-lint-plugin-tailwindcss/actions?query=workflow%3ACI)\n[![jsr](https://jsr.io/badges/@ryu/deno-lint-plugin-tailwindcss?color=22b140)](http://jsr.io/@ryu/deno-lint-plugin-tailwindcss)\n[![License](https://img.shields.io/github/license/ryuapp/deno-lint-plugin-tailwindcss?labelColor=171717\u0026color=22b140\u0026label=License)](https://github.com/ryuapp/deno-lint-plugin-tailwindcss/blob/main/LICENSE)\n\nA [Deno Lint Plugin](https://docs.deno.com/runtime/reference/lint_plugins/) for Tailwind CSS that automatically sorts classes.\n\n\u003e [!IMPORTANT]\n\u003e Currently, we are building this linter plugin rule based on [Biome](http://biomejs.dev/)'s [use_sorted_classes](https://biomejs.dev/ja/linter/rules/use-sorted-classes/) due to limitations in Deno Lint specification, but in the future we plan to replace it with the same rules as [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss). Many breaking changes may occur until the migration is complete.\n\n## How to use\n\nAdd the plugin to your deno.json(c):\n\n```jsonc\n// deno.json(c)\n{\n  \"lint\": {\n    \"plugins\": [\"jsr:@ryu/deno-lint-plugin-tailwindcss@0.2.0\"]\n  }\n}\n```\n\nAnd just run `deno lint --fix`.\n\n## Supported sort targets\n\n### JSX/TSX attributes\n\nSupports `class` and `className` attributes. That means it supports React, Preact, SolidJS, Qwik, and more!\n\n```tsx\nfunction StarButton() {\n  return (\n    \u003cbutton class=\"rounded-md bg-gray-200 px-4 py-2 font-semibold text-gray-700\"\u003e\n      Star\n    \u003c/button\u003e\n  );\n}\n```\n\n### Utility functions\n\nSupports `clsx()` in [clsx](https://github.com/lukeed/clsx), `cn()` used in [shadcn/ui](https://ui.shadcn.com/), and `tw` tagged templates.\n\n```tsx\nconst class1 = clsx(\"flex items-center p-4 text-red-500\");\nconst class2 = cn(\"flex items-center p-4 text-red-500\");\nconst class3 = tw`flex items-center p-4 text-red-500`;\n```\n\n## Philosophy\n\nAlthough this is a linter plugin, its role is primarily formatting, so it only provides minimal options, in keeping with [Prettier's option philosophy](https://prettier.io/docs/option-philosophy).\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryuapp%2Fdeno-lint-plugin-tailwindcss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryuapp%2Fdeno-lint-plugin-tailwindcss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryuapp%2Fdeno-lint-plugin-tailwindcss/lists"}