{"id":19714536,"url":"https://github.com/phatnguyenuit/react-typescript-template","last_synced_at":"2026-05-07T09:34:44.505Z","repository":{"id":130249530,"uuid":"242362635","full_name":"phatnguyenuit/react-typescript-template","owner":"phatnguyenuit","description":"My customized react typescript template","archived":false,"fork":false,"pushed_at":"2020-02-22T15:21:54.000Z","size":199,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-20T09:01:26.493Z","etag":null,"topics":["eslint","eslint-config-airbnb","husk","lint-staged","prett","reactjs","typescript","vscode"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/phatnguyenuit.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":"2020-02-22T15:16:13.000Z","updated_at":"2020-02-22T15:21:56.000Z","dependencies_parsed_at":"2023-03-15T11:00:40.886Z","dependency_job_id":null,"html_url":"https://github.com/phatnguyenuit/react-typescript-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/phatnguyenuit/react-typescript-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phatnguyenuit%2Freact-typescript-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phatnguyenuit%2Freact-typescript-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phatnguyenuit%2Freact-typescript-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phatnguyenuit%2Freact-typescript-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phatnguyenuit","download_url":"https://codeload.github.com/phatnguyenuit/react-typescript-template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phatnguyenuit%2Freact-typescript-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32731634,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["eslint","eslint-config-airbnb","husk","lint-staged","prett","reactjs","typescript","vscode"],"created_at":"2024-11-11T22:33:30.894Z","updated_at":"2026-05-07T09:34:44.484Z","avatar_url":"https://github.com/phatnguyenuit.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Typescript Template\n\n## Boostraped by [create-react-app](https://www.npmjs.com/package/create-react-app)\n\n## Features\n\n- [x] Support absolute imports by using baseUrl in tsconfig.json\n- [x] Integrate Prettier to reformat code styles\n- [x] Configure ESlint with airbnb and supports: Typescript, React, React-Hooks, Prettier, Imports.\n- [x] Configure lint-stage and husky to use pre-commit hook to prevent bad style code pushed to GitHub\n\n## Guides\n\n- Copy dot files and tsconfig.json.\n- Install devDependencies packages: `npm install --save-dev eslint @typescript-eslint/eslint-plugin eslint-config-airbnb eslint-config-prettier eslint-plugin-prettier eslint-plugin-react eslint-plugin-react-hooks husky lint-staged prettier`\n- Add new scripts:\n\n  ```json\n  \"prettier\": \"prettier --write src/**/*.{ts,tsx}\",\n  \"lint-staged\": \"lint-staged\",\n  \"lint:ts\": \"eslint ./src --ext .ts,.tsx\",\n  \"lint:ts:fix\": \"npm run lint:ts -- --fix\"\n  ```\n\n- Add package.json options:\n\n  ```json\n  \"lint-staged\": {\n    \"src/**/*.{ts,tsx}\": [ \"eslint . --fix\", \"git add\" ]\n  },\n  \"husky\": {\n    \"hooks\": {\n      \"pre-commit\": \"lint-staged\"\n    }\n  }\n  ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphatnguyenuit%2Freact-typescript-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphatnguyenuit%2Freact-typescript-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphatnguyenuit%2Freact-typescript-template/lists"}