Skip to content

Conversation

@amirhhashemi
Copy link

@amirhhashemi amirhhashemi commented Dec 28, 2024

Your TSConfig hasn't been updated for over 2 years. I didn't have any particular issue with it, but I think it benefits from an update.

The TSConfig I used is based on this guide and Vite's default TSConfig for React.

I ran pnpm build and pnpm tsc --noEmit to ensure all templates build correctly and found (and fixed) all sorts of wired bugs and inconsistencies. For example, missing packages, missing .gitignore file or TypeScript errors. I didn't feel like creating a separate PR for it, but if you are strict with this sort of stuff I can divide it into two PRs.

@birkskyum
Copy link
Member

@amirhhashemi , thanks! I've cleaned up the tsconfig's quite a lot, using a lot of the recommendation from this PR. If you have suggestions for changes to certain keys, or find more inconsistencies, i think it's best to do it in a new prs.

@birkskyum birkskyum closed this Sep 7, 2025
@amirhhashemi amirhhashemi deleted the update-tsconfig branch September 8, 2025 03:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants