happylinks / gqlint

GraphQL (Schema) Linter
MIT License
41 stars 4 forks source link

Ability to exclude linting #13

Open decrn opened 5 years ago

decrn commented 5 years ago

Hi. Something like

// eslint-ignore-line would be tremendously helpful.

happylinks commented 5 years ago

Hey, thanks for the request! Would indeed be a very nice and welcome feature. I just checked, but comments (# test) don't seem to be available in the AST of graphql-js.

I'll see if there is an easy way to support this, could probably take some time though.