Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default --config if one is found on disk #1355

Open
JoshuaKGoldberg opened this issue Oct 14, 2023 · 0 comments
Open

Default --config if one is found on disk #1355

JoshuaKGoldberg opened this issue Oct 14, 2023 · 0 comments
Labels
status: accepting prs Please, send a pull request to resolve this! 馃檹 type: enhancement New feature or request

Comments

@JoshuaKGoldberg
Copy link
Owner

馃殌 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 JoshuaKGoldberg added type: enhancement New feature or request status: accepting prs Please, send a pull request to resolve this! 馃檹 labels Oct 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: accepting prs Please, send a pull request to resolve this! 馃檹 type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant