{"id":13800852,"url":"https://github.com/tinloof/eslint-plugin-better-styled-components","last_synced_at":"2025-10-09T05:38:05.663Z","repository":{"id":44118390,"uuid":"145736160","full_name":"tinloof/eslint-plugin-better-styled-components","owner":"tinloof","description":"ESlint's rules for styled components 💅","archived":false,"fork":false,"pushed_at":"2022-12-30T20:43:27.000Z","size":301,"stargazers_count":67,"open_issues_count":12,"forks_count":9,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-02T17:44:37.812Z","etag":null,"topics":["eslint","eslint-plugin","react","styled-components"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tinloof.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}},"created_at":"2018-08-22T16:39:06.000Z","updated_at":"2025-07-12T17:13:22.000Z","dependencies_parsed_at":"2023-01-31T16:15:53.564Z","dependency_job_id":null,"html_url":"https://github.com/tinloof/eslint-plugin-better-styled-components","commit_stats":null,"previous_names":["siffogh/eslint-plugin-better-styled-components"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/tinloof/eslint-plugin-better-styled-components","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinloof%2Feslint-plugin-better-styled-components","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinloof%2Feslint-plugin-better-styled-components/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinloof%2Feslint-plugin-better-styled-components/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinloof%2Feslint-plugin-better-styled-components/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tinloof","download_url":"https://codeload.github.com/tinloof/eslint-plugin-better-styled-components/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinloof%2Feslint-plugin-better-styled-components/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273874160,"owners_count":25183368,"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","status":"online","status_checked_at":"2025-09-06T02:00:13.247Z","response_time":2576,"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":["eslint","eslint-plugin","react","styled-components"],"created_at":"2024-08-04T00:01:16.939Z","updated_at":"2025-10-09T05:38:00.628Z","avatar_url":"https://github.com/tinloof.png","language":"JavaScript","funding_links":[],"categories":["Plugins"],"sub_categories":["CSS in JS"],"readme":"# eslint-plugin-better-styled-components 💅\n\nAuto fixable ESlint's rules for styled components.\n\n## Installation\n\nYou'll first need to install [ESLint](http://eslint.org):\n\n```\n$ npm i eslint --save-dev\n```\n\nNext, install `eslint-plugin-better-styled-components`:\n\n```\n$ npm install eslint-plugin-better-styled-components --save-dev\n```\n\n**Note:** If you installed ESLint globally (using the `-g` flag) then you must also install `eslint-plugin-better-styled-components` globally.\n\n## Usage\n\nAdd `better-styled-components` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix:\n\n```json\n{\n    \"plugins\": [\n        \"better-styled-components\"\n    ]\n}\n```\n\n\nThen configure the rules you want to use under the rules section.\n\n```json\n{\n    \"plugins\": [\n        \"better-styled-components\"\n    ],\n    \"rules\": {\n        \"better-styled-components/sort-declarations-alphabetically\": 2\n    }\n}\n```\n\n## Supported Rules\n\n* 🔤`sort-declarations-alphabetically`: auto fixable rule that enforces alphabetically sorted declarations.\n\n\n## License\nUnless otherwise specified this project is licensed under [Apache License Version 2.0](./LICENSE).\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinloof%2Feslint-plugin-better-styled-components","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftinloof%2Feslint-plugin-better-styled-components","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinloof%2Feslint-plugin-better-styled-components/lists"}