Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update @tsconfig/bun to reflect changes on bun docs #252

Merged
merged 1 commit into from
Feb 20, 2024
Merged

Update @tsconfig/bun to reflect changes on bun docs #252

merged 1 commit into from
Feb 20, 2024

Conversation

risu729
Copy link
Contributor

@risu729 risu729 commented Feb 19, 2024

This PR updates @tsconfig/bun to reflect changes on bun docs.

The changes are made recently to remove redundant options and fix inconsistency between docs and the generated tsconfig.json by the bun init command.
oven-sh/bun#8654, oven-sh/bun#8953

The tsconfig is based on https://bun.sh/docs/typescript#suggested-compileroptions.

I'm not sure we should include the stricter flags (noUnusedLocals, noUnusedParameters, noPropertyAccessFromIndexSignature) which are disabled by default in bun init, because we can enable them by the combination of @tsconfig/bun and @tsconfig/strictest.
ref: tsconfig-for-init.json

@orta
Copy link
Member

orta commented Feb 20, 2024

I'm not sure we should include the stricter flags...

Generally I agree (for the same reasons) but I also prefer it being the same as the recommendations (even if I think those recommendations are overkill) - so this PR is fine as-is

@orta orta merged commit 67f2ec1 into tsconfig:main Feb 20, 2024
1 check passed
@risu729
Copy link
Contributor Author

risu729 commented Feb 20, 2024

Sure. Thanks for merging!

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