graphql-eslint
graphql-eslint copied to clipboard
Please clarify that the graphql-config has precedence over options like ParserOptions.operations
Issue workflow progress
Progress of the issue based on the Contributor Workflow
- [ ] 1. The issue provides a reproduction available on GitHub, Stackblitz or CodeSandbox
Please make sure the graphql-eslint version under
package.json
matches yours.
- [ ] 2. A failing test has been provided
- [ ] 3. A local solution has been provided
- [ ] 4. A pull request is pending review
Describe the bug
The documentation does not make it clear that an option like documents
in a graphql config is equivalent to ParserOptions.operations and takes precedence over it. Please kindly document equivalence and precedence behavior.
Thanks, would you want send a PR to this change? Also, in next major (v4) field parserOptions.operations
will be renamed to parserOptions.documents
to make consistency with graphql-config