{"id":27132270,"url":"https://github.com/perfective/eslint-config-react","last_synced_at":"2025-07-27T15:08:01.934Z","repository":{"id":42509107,"uuid":"327286122","full_name":"perfective/eslint-config-react","owner":"perfective","description":"A shareable ESLint configuration for the development of Perfective React packages","archived":false,"fork":false,"pushed_at":"2025-01-01T15:49:08.000Z","size":5692,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-04T15:47:27.691Z","etag":null,"topics":["code-quality","code-style","eslint","eslint-config","lint","react","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/perfective.png","metadata":{"files":{"readme":"README.adoc","changelog":"CHANGELOG.adoc","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,"zenodo":null}},"created_at":"2021-01-06T11:08:00.000Z","updated_at":"2025-01-01T15:49:12.000Z","dependencies_parsed_at":"2023-11-22T14:36:53.945Z","dependency_job_id":"5daabb16-5d05-487d-877a-d1d72e0708eb","html_url":"https://github.com/perfective/eslint-config-react","commit_stats":{"total_commits":191,"total_committers":1,"mean_commits":191.0,"dds":0.0,"last_synced_commit":"3d383036ae89d966314465f18b98dfdeefc33c7f"},"previous_names":[],"tags_count":41,"template":false,"template_full_name":null,"purl":"pkg:github/perfective/eslint-config-react","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perfective%2Feslint-config-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perfective%2Feslint-config-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perfective%2Feslint-config-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perfective%2Feslint-config-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/perfective","download_url":"https://codeload.github.com/perfective/eslint-config-react/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perfective%2Feslint-config-react/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267375937,"owners_count":24077292,"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-07-27T02:00:11.917Z","response_time":82,"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":["code-quality","code-style","eslint","eslint-config","lint","react","typescript"],"created_at":"2025-04-07T21:52:59.133Z","updated_at":"2025-07-27T15:08:01.865Z","avatar_url":"https://github.com/perfective.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Perfective ESLint Config for React\n\n`@perfective/eslint-config-react` provides\na https://eslint.org/docs/latest/developer-guide/shareable-configs[shareable ESLint configuration]\nfor developing the `@perfective` https://reactjs.org[React] packages.\nThis package extends the\n`link:https://www.npmjs.com/package/@perfective/eslint-config[@perfective/eslint-config]` package.\n\n`@perfective/eslint-config-react` uses the following ESLint plugins:\n\n* `link:https://github.com/jsx-eslint/eslint-plugin-react[eslint-plugin-react]`;\n* `link:https://www.npmjs.com/package/eslint-plugin-react-hooks[eslint-plugin-react-hooks]`;\n* `link:https://github.com/correttojs/eslint-plugin-react-hooks-ssr[eslint-plugin-react-hooks-ssr]`;\n* `link:https://github.com/cvazac/eslint-plugin-react-perf[eslint-plugin-react-perf]`;\n* `link:https://github.com/jsx-eslint/eslint-plugin-jsx-a11y[eslint-plugin-jsx-a11y]`.\n\n\n== Setup\n\n. Require `@perfective/eslint-config-react` and its peer dependencies as dev dependencies:\n+\n[source,bash]\n----\nnpm install --save-dev \\\n    @perfective/eslint-config-react \\\n    @babel/eslint-parser \\\n    @typescript-eslint/eslint-plugin \\\n    @typescript-eslint/parser \\\n    eslint \\\n    eslint-import-resolver-typescript \\\n    eslint-plugin-array-func \\\n    eslint-plugin-cypress \\\n    eslint-plugin-eslint-comments \\\n    eslint-plugin-import \\\n    eslint-plugin-jest \\\n    eslint-plugin-jest-dom \\\n    eslint-plugin-jsdoc \\\n    eslint-plugin-jsx-a11y \\\n    eslint-plugin-n \\\n    eslint-plugin-prefer-arrow \\\n    eslint-plugin-promise \\\n    eslint-plugin-react \\\n    eslint-plugin-react-hooks \\\n    eslint-plugin-react-hooks-ssr \\\n    eslint-plugin-react-perf \\\n    eslint-plugin-rxjs \\\n    eslint-plugin-security \\\n    eslint-plugin-simple-import-sort \\\n    eslint-plugin-sonarjs \\\n    eslint-plugin-testing-library \\\n    eslint-plugin-unicorn\n----\n+\n. Require the configuration in your root `.eslintrc.js`.\n+\n[source,javascript]\n----\nmodule.exports = {\n    extends: ['@perfective/eslint-config-react'],\n}\n----\n\n\n== Rules Configuration Extension Functions\n\nThis package re-exports\nhttps://github.com/perfective/eslint-config#rules-configuration-extension-functions[rules configuration functions],\nincluding overrides with additional React customizations:\n\n* `typescriptEslintNamingConvention(extensions)`;\n* `unicornPreventAbbreviations(replacements, options)`.\n\n\n== Roadmap\n\n* Research more ESLint React plugins.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperfective%2Feslint-config-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fperfective%2Feslint-config-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperfective%2Feslint-config-react/lists"}