Demo app for linting React and TypeScript with typescript-eslint, formed from my template-typescript-node-package. ✨
<img alt="Code Style: Prettier" src="https://img.shields.io/badge/code_style-prettier-21bb42.svg" />
<a href="https://github.com/JoshuaKGoldberg/linting-typescript-in-2023/blob/main/.github/CODE_OF_CONDUCT.md">
<img alt="Contributor Covenant" src="https://img.shields.io/badge/code_of_conduct-contributor_covenant-21bb42" />
</a>
<a href="https://github.com/JoshuaKGoldberg/linting-typescript-in-2023/blob/main/LICENSE.md">
<img alt="License: MIT" src="https://img.shields.io/github/license/JoshuaKGoldberg/linting-typescript-in-2023?color=21bb42">
</a>
<a href="https://github.com/sponsors/JoshuaKGoldberg">
<img alt="Sponsor: On GitHub" src="https://img.shields.io/badge/sponsor-on_github-21bb42.svg" />
</a>
<img alt="TypeScript: Strict" src="https://img.shields.io/badge/typescript-strict-21bb42.svg" />
First make sure you have Node installed and Yarn installed. Then, after forking the repo from GitHub:
git clone https://github.com/<your-name-here>/linting-typescript-in-2023
cd linting-typescript-in-2023
yarn
To start a Next dev server, yarn dev.
It displays a page with four buttons, each of which is meant to set the page background to a random color.
@typescript-eslint/await-thenable@typescript-eslint/no-floating-promises@typescript-eslint/no-misused-promisesEach of those lint rules are disabled in .eslintrc.cjs.
Uncomment those disables and run yarn lint to enable the rules and see their complaints in source code.
See .github/CONTRIBUTING.md.
Thanks! 💖
$ claude mcp add linting-typescript-in-2023 \
-- python -m otcore.mcp_server <graph>