cjoudrey / graphql-schema-linter

Validate GraphQL schema definitions against a set of rules
MIT License
694 stars 62 forks source link

allow schemaPath to come from package.json #196

Closed gagoar closed 5 years ago

gagoar commented 5 years ago

👋 Thanks for creating graphql-schema-linter.

We are using it to lint our schemas and we would like to have everything (when possible) in our package.json, particularly we noticed that SchemaPath can only be provided via the command line or programatically but not via the configuration.

this PR provides schemaPaths as part of the configuration.

gagoar commented 5 years ago

in this last commit I've done a couple of things: