diff --git a/.eslintrc.gql.js b/.eslintrc.gql.js index ea90eb02..df2ce9bf 100644 --- a/.eslintrc.gql.js +++ b/.eslintrc.gql.js @@ -1,10 +1,6 @@ module.exports = { root: true, parser: '@graphql-eslint/eslint-plugin', - parserOptions: { - schema: 'node_modules/@nft/api-graphql/schema.graphql', - operations: '**/*.gql', - }, plugins: ['@graphql-eslint/eslint-plugin'], extends: ['plugin:@graphql-eslint/operations-recommended'], rules: { diff --git a/.graphqlrc.yml b/.graphqlrc.yml new file mode 100644 index 00000000..f04bf4a7 --- /dev/null +++ b/.graphqlrc.yml @@ -0,0 +1,2 @@ +schema: './node_modules/@nft/api-graphql/schema.graphql' +documents: '{components,hooks,pages}/**/*.{graphql,gql}'