JoshuaKGoldberg / JoshuaKGoldberg/TypeStat

Feature: auto-detect Prettier as a post-processor in CLI

Open
#1,035 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

In the `npx typestat` getting started CLI that generates a `typestat.json`, if a Prettier configuration is detected, it should offer to add it as a post-processor.

#### Existing Behavior

Mutators don't generally put effort into respecting Prettier settings. As a result, auto-fixed code often would not pass Prettier.

#### Change Proposal

> "Hey, would you like to have Prettier run on mutated files?"

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.