JoshuaKGoldberg / JoshuaKGoldberg/TypeStat
Add a CLI option to infer missing compilerOptions from tsconfig.json
Open
area: cli
status: accepting prs
type: enhancement
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 47
- Avg merge
- 15h 55m
- Merged PRs (30d)
- 21
Description
### 🚀 Feature Request
Developers might not know which TypeScript compiler options can be auto-fixed to in TypeStat. Let's add a way to inform people what can be enabled.
#### Existing Behavior
TypeStat doesn't yet offer any intelligent suggestions around them.
#### Change Proposal
In the interactive CLI wizard:
1. Parse the user's TSConfig using TypeScript's TSConfig parsing methods
2. Figure out which disabled compiler options correspond to a TypeStat fixer
3. In some way, offer to enable the fixer
Contributor guide
Assessment
This issue has not been assessed yet.