Suggestion
As a professional TypeScript developer, I start new TS projects all the time. I use tsc --init sometimes, but more often than not I copy tsconfig.json files from other projects because I find the tsconfig.json file that is generated to be horribly spammy.
Having a tsc --init command is valuable to me, because quite often I want to bootstrap a project quickly, but the comments get in my way, as they make it harder to read what the actual config of a project is, and generally look really messy. If I ever run tsc --init the first thing I do is strip out these comments.
I'd really appreciate a tsc --init-basic (or something like it) that provides the same basic configuration set but without any comments.
- Note; I suspect this would be super simple to implement, and I'm looking for opportunities to start contributing, so if anyone can point me towards the appropriate area in the codebase, I'd be happy to submit this change myself.
🔍 Search Terms
tsconfig comments init
✅ Viability Checklist
My suggestion meets these guidelines:
Suggestion
As a professional TypeScript developer, I start new TS projects all the time. I use
tsc --initsometimes, but more often than not I copytsconfig.jsonfiles from other projects because I find thetsconfig.jsonfile that is generated to be horribly spammy.Having a
tsc --initcommand is valuable to me, because quite often I want to bootstrap a project quickly, but the comments get in my way, as they make it harder to read what the actual config of a project is, and generally look really messy. If I ever runtsc --initthe first thing I do is strip out these comments.I'd really appreciate a
tsc --init-basic(or something like it) that provides the same basic configuration set but without any comments.🔍 Search Terms
tsconfig comments init
✅ Viability Checklist
My suggestion meets these guidelines: