{"id":16402397,"url":"https://github.com/santospatrick/eslint-config-react","last_synced_at":"2025-08-03T20:37:09.834Z","repository":{"id":44015272,"uuid":"233319443","full_name":"santospatrick/eslint-config-react","owner":"santospatrick","description":":barber: Simple eslint config for React.js. Also works with React Native.","archived":false,"fork":false,"pushed_at":"2022-02-12T22:32:26.000Z","size":152,"stargazers_count":4,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T12:45:25.060Z","etag":null,"topics":[],"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/santospatrick.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":"2020-01-12T00:59:23.000Z","updated_at":"2021-05-14T00:50:15.000Z","dependencies_parsed_at":"2022-08-26T01:31:19.446Z","dependency_job_id":null,"html_url":"https://github.com/santospatrick/eslint-config-react","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santospatrick%2Feslint-config-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santospatrick%2Feslint-config-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santospatrick%2Feslint-config-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santospatrick%2Feslint-config-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/santospatrick","download_url":"https://codeload.github.com/santospatrick/eslint-config-react/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245805986,"owners_count":20675291,"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":[],"created_at":"2024-10-11T05:46:05.917Z","updated_at":"2025-03-27T07:41:26.627Z","avatar_url":"https://github.com/santospatrick.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `@santospatrick/eslint-config-react`\n:barber: Simple eslint config for React.js\n\n## Usage\n\n1. Install\n```sh\nyarn add eslint prettier eslint-config-prettier \\\n  eslint-plugin-prettier \\\n  eslint-plugin-react \\\n  @santospatrick/eslint-config-react \\\n  @santospatrick/prettier-config --dev\n```\n\n2. Create a file `.eslintrc` and add this:\n```\n{\n    \"extends\": \"@santospatrick/eslint-config-react\"\n}\n```\n\n3. Add this line at `package.json`\n```diff\n...\n+ \"prettier\": \"@santospatrick/prettier-config\"\n...\n```\n\n4. (Optional) Add script for linting\n```json\n\"scripts\": {\n    \"lint\": \"eslint --fix src --ext .js\"\n},\n```\n\n\n## Create React App\nIf you are using [create-react-app](https://create-react-app.dev/), remove the following lines at `package.json`:\n\n```diff\n...\n- \"eslintConfig\": {\n-   \"extends\": \"react-app\"\n- },\n...\n```\n\n## Development\n\n```sh\nyarn link\ncd /path/to/project\nyarn link @santospatrick/eslint-config-react\n\n# Deploy\n# This command will also publish do Yarn\nnpm publish --access public\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsantospatrick%2Feslint-config-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsantospatrick%2Feslint-config-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsantospatrick%2Feslint-config-react/lists"}