{"id":25659485,"url":"https://github.com/johnapache/eslint-config-react","last_synced_at":"2026-05-16T22:34:30.770Z","repository":{"id":36775324,"uuid":"229889502","full_name":"JohnApache/eslint-config-react","owner":"JohnApache","description":"eslint-config-react for hasaki-cli","archived":false,"fork":false,"pushed_at":"2022-02-12T21:18:31.000Z","size":116,"stargazers_count":0,"open_issues_count":6,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-23T04:05:20.000Z","etag":null,"topics":["eslint","eslint-config","eslint-config-react","eslint-config-react-hooks"],"latest_commit_sha":null,"homepage":null,"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/JohnApache.png","metadata":{"files":{"readme":"README.en_US.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":"2019-12-24T07:00:47.000Z","updated_at":"2019-12-27T09:32:48.000Z","dependencies_parsed_at":"2022-07-21T01:32:44.853Z","dependency_job_id":null,"html_url":"https://github.com/JohnApache/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/JohnApache%2Feslint-config-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnApache%2Feslint-config-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnApache%2Feslint-config-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnApache%2Feslint-config-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JohnApache","download_url":"https://codeload.github.com/JohnApache/eslint-config-react/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240400334,"owners_count":19795333,"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-config-react","eslint-config-react-hooks"],"created_at":"2025-02-24T01:17:22.031Z","updated_at":"2026-05-16T22:34:28.753Z","avatar_url":"https://github.com/JohnApache.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EsLint-Config-React\n\n\u003c!-- [![NPM version][npm-image]][npm-url]\n[![build status][travis-image]][travis-url]\n[![Test coverage][codecov-image]][codecov-url]\n[![Known Vulnerabilities][snyk-image]][snyk-url]\n[![npm download][download-image]][download-url]\n\n[npm-image]: https://img.shields.io/npm/v/:packageName.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/:packageName\n[travis-image]: https://www.travis-ci.org/JohnApache/:packageName.svg\n[travis-url]: https://travis-ci.org/JohnApache/:packageName\n[codecov-image]: https://codecov.io/gh/JohnApache/:packageName/branch/master/graph/badge.svg\n[codecov-url]: https://codecov.io/gh/JohnApache/:packageName\n[snyk-image]: https://snyk.io/test/github/JohnApache/:packageName/badge.svg?targetFile=package.json\n[snyk-url]: https://snyk.io/test/github/JohnApache/:packageName?targetFile=package.json\n[download-image]: https://img.shields.io/npm/dm/:packageName.svg?style=flat-square\n[download-url]: https://npmjs.org/package/:packageName --\u003e\n\n- [English](README.en_US.md)\n- [简体中文](README.md)\n\n\u003e This configuration is the general configuration of eslint for **React** project, which is applicable to any basic configuration of the project, and provides a good automatic repair effect.\n\n- [Install](#install)\n- [Configuration](#configuration)\n- [TIPS](#tips)\n- [Questions](#questions)\n- [License](#license)\n\n## Install\n```bash\n$ npx install-peerdeps --dev @dking/eslint-config-react\n```\n\n## Configuration\n\n```js\n// .eslintrc.js\nmodule.exports = {\n    extends: [ '@dking/react' ],\n    rules: {\n\n    }\n}\n```\n\n## TIPS\n\n\u003e You can use different eslint config for different types of projects to get a better experience\n\n- Only projects requiring basic configuration can use [@dking/eslint-config-base](https://github.com/JohnApache/eslint-config-base)\n- Projects using **Typescript** can use [@dking/eslint-config-typescript](https://github.com/JohnApache/eslint-config-typescript)\n- Projects that use **React** can use [@dking/eslint-config-react](https://github.com/JohnApache/eslint-config-react)\n- Projects that use **Typescript** and **React** can use [@dking/eslint-config-typescript-react](https://github.com/JohnApache/eslint-config-typescript-react)\n\n## Questions\nPlease open an issue [here](https://github.com/JohnApache/eslint-config-react/issues).\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnapache%2Feslint-config-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnapache%2Feslint-config-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnapache%2Feslint-config-react/lists"}