{"id":25129678,"url":"https://github.com/benhunter/typescript-react-eslint-starter","last_synced_at":"2025-10-08T08:19:59.213Z","repository":{"id":88093778,"uuid":"458951123","full_name":"benhunter/typescript-react-eslint-starter","owner":"benhunter","description":"Typescript React ESLint (Airbnb style) with Create React App","archived":false,"fork":false,"pushed_at":"2022-03-01T22:30:44.000Z","size":367,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-02T21:44:17.162Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/benhunter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-02-13T22:45:01.000Z","updated_at":"2022-02-13T23:20:00.000Z","dependencies_parsed_at":"2023-05-18T07:01:18.376Z","dependency_job_id":null,"html_url":"https://github.com/benhunter/typescript-react-eslint-starter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/benhunter/typescript-react-eslint-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benhunter%2Ftypescript-react-eslint-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benhunter%2Ftypescript-react-eslint-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benhunter%2Ftypescript-react-eslint-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benhunter%2Ftypescript-react-eslint-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benhunter","download_url":"https://codeload.github.com/benhunter/typescript-react-eslint-starter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benhunter%2Ftypescript-react-eslint-starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278910615,"owners_count":26067111,"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-10-08T02:00:06.501Z","response_time":56,"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":[],"created_at":"2025-02-08T12:18:34.089Z","updated_at":"2025-10-08T08:19:59.208Z","avatar_url":"https://github.com/benhunter.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Frontend Starter App\n\n- Create React App\n- Typescript\n- ESLint with Airbnb style guide\n- Cypress and Cypress Testing Library\n\n## How I set up the Starter\n\n```shell\nyarn create react-app typescript-react-eslint-starter --template typescript\ncd typescript-react-eslint-starter\nyarn add eslint --dev\nyarn create @eslint/config\n```\n\nFor ESLint config select:\n\n- How would you like to use ESLint?\n    - To check syntax, find problems, and enforce code style\n- What type of modules does your project use?\n    - JavaScript modules (import/export)\n- Which framework does your project use?\n    - React\n- Does your project use TypeScript?\n    - Yes\n- Where does your code run?\n    - Browser\n- How would you like to define a style for your project?\n    - Use a popular style guide\n- Which style guide do you want to follow?\n    - Airbnb: https://github.com/airbnb/javascript\n- What format do you want your config file to be in?\n    - JSON\n\n```shell\nnpx eslint src/*\nnpx eslint src/* --fix\nnpx eslint src/* --quiet  # ignore warnings\nyarn add --dev eslint-import-resolver-typescript\nyarn add --dev cypress\nyarn add --dev @testing-library/cypress\nyarn journey\n```\n\n## ESLint Config\n\nHelpful article: [Setting ESLint on a React Typescript project](https://andrebnassis.medium.com/setting-eslint-on-a-react-typescript-project-2021-1190a43ffba)\n\nThe article is slightly outdated. I didn't have to fix all the errors listed in the article.\n\n# Getting Started with Create React App\n\nThis project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).\n\n## Available Scripts\n\nIn the project directory, you can run:\n\n### `yarn start`\n\nRuns the app in the development mode.\\\nOpen [http://localhost:3000](http://localhost:3000) to view it in the browser.\n\nThe page will reload if you make edits.\\\nYou will also see any lint errors in the console.\n\n### `yarn test`\n\nLaunches the test runner in the interactive watch mode.\\\nSee the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.\n\n### `yarn build`\n\nBuilds the app for production to the `build` folder.\\\nIt correctly bundles React in production mode and optimizes the build for the best performance.\n\nThe build is minified and the filenames include the hashes.\\\nYour app is ready to be deployed!\n\nSee the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.\n\n### `yarn eject`\n\n**Note: this is a one-way operation. Once you `eject`, you can’t go back!**\n\nIf you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.\n\nInstead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.\n\nYou don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.\n\n## Learn More\n\nYou can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).\n\nTo learn React, check out the [React documentation](https://reactjs.org/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenhunter%2Ftypescript-react-eslint-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenhunter%2Ftypescript-react-eslint-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenhunter%2Ftypescript-react-eslint-starter/lists"}