0no-co / GraphQLSP

TypeScript LSP plugin that finds GraphQL documents in your code and provides diagnostics, auto-complete and hover-information.
https://gql-tada.0no.co
MIT License
332 stars 13 forks source link

How would I use this in CI? #339

Closed taobojlen closed 3 weeks ago

taobojlen commented 3 weeks ago

First of all, thanks for this project -- we're adding this to our codebase and it's going drastically improve our devX!

This plugin has some really useful diagnostics, like warning on unused fields. I'd like to set this up so that if a query/fragment has an unused field, it'll fail a CI job. Is it possible to set this up somehow?

JoviDeCroock commented 3 weeks ago

Hey, that's described here and here