{"id":18928130,"url":"https://github.com/hearthsim/eslint-config-typescript-react","last_synced_at":"2026-03-15T18:30:14.969Z","repository":{"id":57699885,"uuid":"503323789","full_name":"HearthSim/eslint-config-typescript-react","owner":"HearthSim","description":"HearthSim's common ESLint configuration with React support","archived":false,"fork":false,"pushed_at":"2024-02-27T16:39:15.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-01-31T20:54:09.716Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HearthSim.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}},"created_at":"2022-06-14T11:07:41.000Z","updated_at":"2022-06-14T11:29:50.000Z","dependencies_parsed_at":"2024-02-27T17:55:51.161Z","dependency_job_id":null,"html_url":"https://github.com/HearthSim/eslint-config-typescript-react","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"f5ffe3c9de61efdb1e45b4281f9557d39eddfb7a"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HearthSim%2Feslint-config-typescript-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HearthSim%2Feslint-config-typescript-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HearthSim%2Feslint-config-typescript-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HearthSim%2Feslint-config-typescript-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HearthSim","download_url":"https://codeload.github.com/HearthSim/eslint-config-typescript-react/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239923553,"owners_count":19719158,"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-11-08T11:23:03.122Z","updated_at":"2026-03-15T18:30:14.934Z","avatar_url":"https://github.com/HearthSim.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @hearthsim/eslint-config-typescript-react\n\nThis repository contains the HearthSim common ESLint configuration with Typescript and React support.\n\nFor a version **without** React support use [@HearthSim/eslint-config-typescript](https://github.com/HearthSim/eslint-config-typescript) instead.\n\n## Setup\n\n1. Install\n\n```bash\n$ yarn add -D eslint @hearthsim/eslint-config-typescript-react\n```\n\n2. Install ESLint plugins  \nPlugins are resolved relative to the final project and must thus installed explicitly as part of the project:\n\n```bash\n$ yarn add -D \\\n              @typescript-eslint/eslint-plugin@^5.4.0 \\\n              eslint-plugin-import@2.25.3 \\\n              eslint-plugin-jest@25.2.4 \\\n              eslint-plugin-react@7.27.1 \\\n              eslint-plugin-react-hooks@4.3.0\n```\n\n3. Configure ESLint:\n\nCreate or update your`.eslintrc.js`:\n```js\nmodule.exports = {\n\troot: true,\n\textends: [\"@hearthsim/eslint-config-typescript-react\"],\n\tenv: {\n\t\tbrowser: true,\n\t},\n};\n```\n\n4. Add the scripts to your `package.json`:\n\n```json\n{\n\t\"scripts\": {\n\t\t\"lint:eslint\": \"eslint --cache ./\"\n\t}\n}\n\n```\n\n## Philosophy\n\n### Zero tolerance for Errors false positives\n   If a rule is not able to handle the ways we legitimately use it, it needs to be downgraded to a warning. \n   Errors are reserved for critical  issues that can directly introduce security risks, break the application or lead to severe performance penalties. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhearthsim%2Feslint-config-typescript-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhearthsim%2Feslint-config-typescript-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhearthsim%2Feslint-config-typescript-react/lists"}