{"id":14978303,"url":"https://github.com/xojs/eslint-config-xo-react","last_synced_at":"2025-05-15T23:03:58.717Z","repository":{"id":35781336,"uuid":"40061478","full_name":"xojs/eslint-config-xo-react","owner":"xojs","description":"ESLint shareable config for React to be used with eslint-config-xo","archived":false,"fork":false,"pushed_at":"2025-01-21T06:14:56.000Z","size":78,"stargazers_count":120,"open_issues_count":3,"forks_count":19,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-05-10T13:43:28.771Z","etag":null,"topics":["eslint","eslint-config","eslint-rules","nodejs","react","xo"],"latest_commit_sha":null,"homepage":"https://github.com/xojs/xo","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/xojs.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},"funding":{"github":"sindresorhus"}},"created_at":"2015-08-01T22:11:40.000Z","updated_at":"2025-05-06T07:37:06.000Z","dependencies_parsed_at":"2025-02-02T08:03:35.161Z","dependency_job_id":"5fcab1e1-96a8-48f6-8e51-6bcaf8112e64","html_url":"https://github.com/xojs/eslint-config-xo-react","commit_stats":null,"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xojs%2Feslint-config-xo-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xojs%2Feslint-config-xo-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xojs%2Feslint-config-xo-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xojs%2Feslint-config-xo-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xojs","download_url":"https://codeload.github.com/xojs/eslint-config-xo-react/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254436944,"owners_count":22070946,"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":["eslint","eslint-config","eslint-rules","nodejs","react","xo"],"created_at":"2024-09-24T13:57:20.035Z","updated_at":"2025-05-15T23:03:58.636Z","avatar_url":"https://github.com/xojs.png","language":"JavaScript","funding_links":["https://github.com/sponsors/sindresorhus"],"categories":[],"sub_categories":[],"readme":"# eslint-config-xo-react\n\n\u003e ESLint [shareable config](http://eslint.org/docs/developer-guide/shareable-configs.html) for React to be used with [eslint-config-xo](https://github.com/xojs/eslint-config-xo)\n\n## Install\n\n```sh\nnpm install --save-dev eslint-config-xo eslint-config-xo-react\n```\n\n## Usage\n\nAdd some ESLint config to your `eslint.config.js`:\n\n```js\nimport xo from 'eslint-config-xo';\nimport xoReact from 'eslint-config-xo-react';\n\nexport default [\n\t...xo,\n\t...xoReact\n];\n```\n\nUse the `space` sub-config if you want 2 space indentation instead of tabs:\n\n```js\nimport xoSpace from 'eslint-config-xo/space';\nimport xoReactSpace from 'eslint-config-xo-react/space';\n\nexport default [\n\t...xoSpace,\n\t...xoReactSpace\n];\n```\n\n\u003c!-- ## Tip\n\n### Use with XO\n\n```sh\nnpm install --save-dev eslint-config-xo-react eslint-plugin-react eslint-plugin-react-hooks\n```\n\n```json\n{\n\t\"name\": \"my-awesome-project\",\n\t\"xo\": {\n\t\t\"extends\": \"xo-react\"\n\t}\n}\n``` --\u003e\n\n## Related\n\n- [eslint-config-xo](https://github.com/xojs/eslint-config-xo) - ESLint shareable config for XO\n- [XO](https://github.com/xojs/xo)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxojs%2Feslint-config-xo-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxojs%2Feslint-config-xo-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxojs%2Feslint-config-xo-react/lists"}