{"id":13469509,"url":"https://github.com/JoshuaKGoldberg/linting-typescript-in-2023","last_synced_at":"2025-03-26T06:32:15.902Z","repository":{"id":151826090,"uuid":"604769394","full_name":"JoshuaKGoldberg/linting-typescript-in-2023","owner":"JoshuaKGoldberg","description":"Code samples for linting React and TypeScript in 2023. ✨","archived":false,"fork":false,"pushed_at":"2023-06-21T16:16:43.000Z","size":265,"stargazers_count":109,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-12T00:04:23.689Z","etag":null,"topics":[],"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/JoshuaKGoldberg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":".github/CODE_OF_CONDUCT.md","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},"funding":{"github":"JoshuaKGoldberg"}},"created_at":"2023-02-21T18:50:03.000Z","updated_at":"2024-10-28T09:13:28.000Z","dependencies_parsed_at":"2024-01-15T19:58:22.936Z","dependency_job_id":null,"html_url":"https://github.com/JoshuaKGoldberg/linting-typescript-in-2023","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/JoshuaKGoldberg%2Flinting-typescript-in-2023","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoshuaKGoldberg%2Flinting-typescript-in-2023/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoshuaKGoldberg%2Flinting-typescript-in-2023/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoshuaKGoldberg%2Flinting-typescript-in-2023/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JoshuaKGoldberg","download_url":"https://codeload.github.com/JoshuaKGoldberg/linting-typescript-in-2023/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245604236,"owners_count":20642966,"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-07-31T15:01:42.896Z","updated_at":"2025-03-26T06:32:14.504Z","avatar_url":"https://github.com/JoshuaKGoldberg.png","language":"TypeScript","funding_links":["https://github.com/sponsors/JoshuaKGoldberg"],"categories":["TypeScript"],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eLinting TypeScript in 2023 Code\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003eDemo app for linting React and TypeScript with typescript-eslint, formed from my \u003ca href=\"https://github.com/JoshuaKGoldberg/template-typescript-node-package\"\u003etemplate-typescript-node-package\u003c/a\u003e. ✨\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003c!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --\u003e\n[![All Contributors](https://img.shields.io/badge/all_contributors-2-orange.svg?style=flat-square)](#contributors-)\n\u003c!-- ALL-CONTRIBUTORS-BADGE:END --\u003e\n\t\u003cimg alt=\"Code Style: Prettier\" src=\"https://img.shields.io/badge/code_style-prettier-21bb42.svg\" /\u003e\n\t\u003ca href=\"https://github.com/JoshuaKGoldberg/linting-typescript-in-2023/blob/main/.github/CODE_OF_CONDUCT.md\"\u003e\n\t\t\u003cimg alt=\"Contributor Covenant\" src=\"https://img.shields.io/badge/code_of_conduct-contributor_covenant-21bb42\" /\u003e\n\t\u003c/a\u003e\n\t\u003ca href=\"https://github.com/JoshuaKGoldberg/linting-typescript-in-2023/blob/main/LICENSE.md\"\u003e\n\t    \u003cimg alt=\"License: MIT\" src=\"https://img.shields.io/github/license/JoshuaKGoldberg/linting-typescript-in-2023?color=21bb42\"\u003e\n    \u003c/a\u003e\n\t\u003ca href=\"https://github.com/sponsors/JoshuaKGoldberg\"\u003e\n    \t\u003cimg alt=\"Sponsor: On GitHub\" src=\"https://img.shields.io/badge/sponsor-on_github-21bb42.svg\" /\u003e\n    \u003c/a\u003e\n    \u003cimg alt=\"TypeScript: Strict\" src=\"https://img.shields.io/badge/typescript-strict-21bb42.svg\" /\u003e\n\u003c/p\u003e\n\n## Usage\n\nFirst make sure you have [Node installed](https://nodejs.org/en/download) and [Yarn installed](https://yarnpkg.com/getting-started/install).\nThen, after [forking the repo from GitHub](https://help.github.com/articles/fork-a-repo):\n\n```shell\ngit clone https://github.com/\u003cyour-name-here\u003e/linting-typescript-in-2023\ncd linting-typescript-in-2023\nyarn\n```\n\n### React Site Demo\n\nTo start a Next dev server, `yarn dev`.\nIt displays a page with four buttons, each of which is meant to set the page background to a random color.\n\n1. _\"Violate await-thenable\"_: Shows what happens when code violates [`@typescript-eslint/await-thenable`](https://typescript-eslint.io/rules/await-thenable)\n2. _\"Violate no-floating-promises\"_: Shows what happens when code violates [`@typescript-eslint/no-floating-promises`](https://typescript-eslint.io/rules/no-floating-promises)\n3. _\"Violate no-misused-promises\"_: Shows what happens when code violates [`@typescript-eslint/no-misused-promises`](https://typescript-eslint.io/rules/no-misused-promises)\n4. _\"This may fail, safely\"_: It works, no issues!\n\nEach of those lint rules are disabled in [`.eslintrc.cjs`](./.eslintrc.cjs).\nUncomment those disables and run `yarn lint` to enable the rules and see their complaints in source code.\n\n## Development\n\nSee [`.github/CONTRIBUTING.md`](./.github/CONTRIBUTING.md).\nThanks! 💖\n\n## Contributors\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore-start --\u003e\n\u003c!-- markdownlint-disable --\u003e\n\u003ctable\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/vim-usds\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/86254807?v=4?s=100\" width=\"100px;\" alt=\"Vim\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eVim\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/JoshuaKGoldberg/linting-typescript-in-2023/commits?author=vim-usds\" title=\"Documentation\"\u003e📖\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/janosorcsik\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/4984853?v=4?s=100\" width=\"100px;\" alt=\"János Orcsik\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eJános Orcsik\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/JoshuaKGoldberg/linting-typescript-in-2023/commits?author=janosorcsik\" title=\"Documentation\"\u003e📖\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/tbody\u003e\n\u003c/table\u003e\n\n\u003c!-- markdownlint-restore --\u003e\n\u003c!-- prettier-ignore-end --\u003e\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJoshuaKGoldberg%2Flinting-typescript-in-2023","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJoshuaKGoldberg%2Flinting-typescript-in-2023","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJoshuaKGoldberg%2Flinting-typescript-in-2023/lists"}