{"id":50826403,"url":"https://github.com/intility/no-inline-styles","last_synced_at":"2026-06-13T19:33:15.618Z","repository":{"id":325060035,"uuid":"1099582084","full_name":"intility/no-inline-styles","owner":"intility","description":"Deno lint plugin that prevents inline styles in JSX/TSX, enforcing CSS class usage","archived":false,"fork":false,"pushed_at":"2025-11-19T09:51:40.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-19T11:23:55.089Z","etag":null,"topics":["deno"],"latest_commit_sha":null,"homepage":"","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/intility.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-19T07:15:03.000Z","updated_at":"2025-11-19T09:51:22.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/intility/no-inline-styles","commit_stats":null,"previous_names":["intility/no-inline-styles"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/intility/no-inline-styles","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intility%2Fno-inline-styles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intility%2Fno-inline-styles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intility%2Fno-inline-styles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intility%2Fno-inline-styles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/intility","download_url":"https://codeload.github.com/intility/no-inline-styles/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intility%2Fno-inline-styles/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34298247,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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"],"created_at":"2026-06-13T19:33:14.883Z","updated_at":"2026-06-13T19:33:15.613Z","avatar_url":"https://github.com/intility.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  \u003cimg src=\"https://avatars.githubusercontent.com/u/35199565\" width=\"124px\"/\u003e\u003cbr/\u003e\n  @intility/no-inline-styles\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\nA Deno lint plugin that prevents inline styles in JSX/TSX components. This helps maintain a consistent styling approach by encouraging the use of CSS classes instead of inline styles.\n\u003c/p\u003e\n\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://jsr.io/@intility/no-inline-styles\"\u003e\u003cimg src=\"https://jsr.io/badges/@intility/no-inline-styles\" alt=\"JSR\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/intility/no-inline-styles/actions/workflows/publish.yml\"\u003e\u003cimg src=\"https://github.com/intility/no-inline-styles/actions/workflows/publish.yml/badge.svg\" alt=\"Publish to JSR\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\n## Installation\n\nAdd the plugin to your `deno.json`:\n\n```json\n{\n  \"lint\": {\n    \"plugins\": [\"jsr:@intility/no-inline-styles\"],\n    \"rules\": {\n      \"include\": [\"no-inline-styles/no-inline-styles\"]\n    }\n  }\n}\n```\n\n## Usage\n\nOnce configured, the plugin will flag any inline styles:\n\n```tsx\n// ❌ Error\n\u003cdiv style={{ color: 'red' }}\u003eContent\u003c/div\u003e\n\n// ✅ Good\n\u003cdiv className=\"text-red-500\"\u003eContent\u003c/div\u003e\n```\n\n## Ignoring Specific Cases\n\nIf you have legitimate use cases for inline styles, you can ignore specific lines:\n\n```tsx\n// deno-lint-ignore no-inline-styles/no-inline-styles\n\u003cdiv style={{ backgroundColor: dynamicColor }}\u003eContent\u003c/div\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintility%2Fno-inline-styles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fintility%2Fno-inline-styles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintility%2Fno-inline-styles/lists"}