cjoudrey / graphql-schema-linter

Validate GraphQL schema definitions against a set of rules

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enable whitelist-ignoring rules by argument name

casey-chow opened this issue · comments

One issue I'm finding with making my schema more consistent is that enabling certain rules requires adding documentation where it may be noisy, for example with arguments-have-descriptions, where all of our mutations have a single argument input which is well-defined and conventional. I'd like to be able to whitelist the specific name input as self-explanatory in our configuration so I don't need to copy-paste the same lint disables or boilerplate documentation.