-
-
Notifications
You must be signed in to change notification settings - Fork 30
Cannot get pretty to work in Docusaurus project #2236
Copy link
Copy link
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Setting pretty: true doesn't make GraphQL Markdown format the files with Prettier.
To Reproduce
Check out commit fc985e2 in this repo: https://github.com/sablier-labs/docs
Related PR: sablier-labs/docs#308
- GraphQL schema
Don't think it's related to the GraphQL schema.
- Docusaurus configuration
Expected behavior
The files should be formatted with prettier since I have it installed. But they are not. I have to manually run prettier after the GraphQL docs gen.
Additional context
You need the @antfu/ni package and the Just command runner to run commands in our repo. Run just --list to see the list of available commands. The ones of interest are just prettier-check and just prettier-write.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working