arvitaly / tslint-plugin-graphql

Check your GraphQL query strings against a schema.
MIT License
17 stars 5 forks source link

Add support for checking literal .graphql/.gql files like with eslint-plugin-graphql #4

Open iki opened 6 years ago

iki commented 6 years ago

See https://github.com/apollographql/eslint-plugin-graphql#graphql-literal-files.

Currently, running tslint on src/**/*.{graphql,gql} fails, because tslint tries to interpret the files as TypeScript.

alexandru-calinoiu commented 6 years ago

@iki did you get this to work?