TypeStat icon indicating copy to clipboard operation
TypeStat copied to clipboard

Default --config if one is found on disk

Open JoshuaKGoldberg opened this issue 2 years ago • 0 comments

🚀 Feature Request

It'd be nice if running npx typestat after creating a typestat.json config file didn't require a --config typestat.json. Seems redundant. Extra user work.

Existing Behavior

No auto-detection of a typestat.json is done.

Change Proposal

If a typestat.json exists on disk, default the --config argument to point to it.

JoshuaKGoldberg avatar Oct 14 '23 16:10 JoshuaKGoldberg