{"id":17963388,"url":"https://github.com/kristerkari/stylelint-config-react-native-styled-components","last_synced_at":"2025-03-25T05:32:16.633Z","repository":{"id":36455978,"uuid":"177474727","full_name":"kristerkari/stylelint-config-react-native-styled-components","owner":"kristerkari","description":"Shareable stylelint config for styled components when using React Native","archived":false,"fork":false,"pushed_at":"2024-12-02T00:32:57.000Z","size":4117,"stargazers_count":28,"open_issues_count":9,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-19T09:13:40.588Z","etag":null,"topics":["react-native","styled-components","stylelint","stylelint-config"],"latest_commit_sha":null,"homepage":"","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/kristerkari.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2019-03-24T22:03:17.000Z","updated_at":"2024-09-24T08:21:49.000Z","dependencies_parsed_at":"2024-08-25T10:33:04.488Z","dependency_job_id":"289c9eb3-008a-412d-b94b-bd31ef13dc33","html_url":"https://github.com/kristerkari/stylelint-config-react-native-styled-components","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kristerkari%2Fstylelint-config-react-native-styled-components","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kristerkari%2Fstylelint-config-react-native-styled-components/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kristerkari%2Fstylelint-config-react-native-styled-components/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kristerkari%2Fstylelint-config-react-native-styled-components/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kristerkari","download_url":"https://codeload.github.com/kristerkari/stylelint-config-react-native-styled-components/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245407608,"owners_count":20610228,"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":["react-native","styled-components","stylelint","stylelint-config"],"created_at":"2024-10-29T11:35:58.733Z","updated_at":"2025-03-25T05:32:16.241Z","avatar_url":"https://github.com/kristerkari.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# stylelint-config-react-native-styled-components\n\n[![NPM version](http://img.shields.io/npm/v/stylelint-config-react-native-styled-components.svg)](https://www.npmjs.org/package/stylelint-config-react-native-styled-components)\n[![Build Status](https://github.com/kristerkari/stylelint-config-react-native-styled-components/workflows/Tests/badge.svg)](https://github.com/kristerkari/stylelint-config-react-native-styled-components/actions?workflow=Tests)\n[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://egghead.io/courses/how-to-contribute-to-an-open-source-project-on-github)\n\nShareable stylelint config for [styled components](https://www.styled-components.com/) when using React Native.\n\n\u003cimg src=\"screenshots/linting.gif\" width=\"742\"\u003e\n\n## Installation and usage\n\nInstall `stylelint-config-react-native-styled-components` (and `stylelint` + `stylelint-react-native`).\n\n### For stylelint v15+ (recommended)\n\n```\nyarn add \\\n  stylelint \\\n  stylelint-react-native \\\n  stylelint-config-react-native-styled-components \\\n  postcss-styled-syntax --dev\n```\n\nor\n\n```\nnpm install \\\n  stylelint \\\n  stylelint-react-native \\\n  stylelint-config-react-native-styled-components \\\n  postcss-styled-syntax --save-dev\n```\n\nCreate the `.stylelintrc` config file (or open the existing one), extend `stylelint-config-react-native-styled-components` config, and defined the `customSyntax`.\n\n```json\n{\n  \"extends\": [\"stylelint-config-react-native-styled-components\"],\n  \"customSyntax\": \"postcss-styled-syntax\"\n}\n```\n\n### For stylelint v14 and below\n\n```\nyarn add \\\n  stylelint \\\n  stylelint-react-native \\\n  stylelint-processor-styled-components \\\n  stylelint-config-react-native-styled-components --dev\n```\n\nor\n\n```\nnpm install \\\n  stylelint \\\n  stylelint-react-native \\\n  stylelint-processor-styled-components \\\n  stylelint-config-react-native-styled-components --save-dev\n```\n\nCreate the `.stylelintrc` config file (or open the existing one) add the stylelint processor and extend `stylelint-config-react-native-styled-components` config.\n\n```json\n{\n  \"processors\": [\"stylelint-processor-styled-components\"],\n  \"extends\": [\"stylelint-config-react-native-styled-components\"]\n}\n```\n\n## License\n\n[MIT](/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkristerkari%2Fstylelint-config-react-native-styled-components","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkristerkari%2Fstylelint-config-react-native-styled-components","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkristerkari%2Fstylelint-config-react-native-styled-components/lists"}