Closed risu729 closed 9 months ago
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
Sure. Thanks for merging!
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 thebun init
command. https://github.com/oven-sh/bun/pull/8654, https://github.com/oven-sh/bun/pull/8953The 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 inbun init
, because we can enable them by the combination of@tsconfig/bun
and@tsconfig/strictest
. ref:tsconfig-for-init.json