gajus / gajus/format-graphql

Support for globs

Open
#15 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
73
Forks
6
PR merge metrics
No merged PRs in 30d

Description

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:

```sh
npx format-graphql --write=true ./src/**/*.graphql
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the format-graphql CLI entry point and inspect how positional file paths are parsed. Support the ./src/**/*.graphql invocation so each matched GraphQL file is processed, including with --write=true, and verify the command formats all matched files.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, javascript
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.