graphprotocol / graph-client

The Graph library for building GraphQL-based dapps in a decentralized way.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug: Generated index.ts in graphclient places import in body

TheDojoSamurai opened this issue · comments

An import is placed in the generated index.ts file.

This is the import import { fileURLToPath } from '@graphql-mesh/utils';

This makes my eslint fail and does not allow me to compile, once I move it to the top of the file everything works fine.

You can ignore generated files in your ESLint configuration.