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’ll 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