JoshuaKGoldberg / JoshuaKGoldberg/TypeStat

Add a CLI option to infer missing compilerOptions from tsconfig.json

Open
#1,047 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.