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

Support for globs #15

Open
jens1101 opened this issue Nov 2, 2020 · 1 comment
Open

Support for globs #15

jens1101 opened this issue Nov 2, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@jens1101
Copy link

jens1101 commented Nov 2, 2020

Currently we have multiple GraphQL files in our source code and I need to run this for each file individually. It would be much more convenient if globs were supported. Then I could run something like:

npx format-graphql --write=true ./src/**/*.graphql
@gajus
Copy link
Owner

gajus commented Nov 2, 2020

If you are using lint-staged, then you can already do that:

https://github.com/okonet/lint-staged#example-wrap-filenames-in-single-quotes-and-run-once-per-file

@gajus gajus added the enhancement New feature or request label Nov 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants