graph-client icon indicating copy to clipboard operation
graph-client copied to clipboard

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

Open TheDojoSamurai opened this issue 3 years ago • 1 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.

TheDojoSamurai avatar Nov 09 '22 07:11 TheDojoSamurai

You can ignore generated files in your ESLint configuration.

ardatan avatar Nov 09 '22 07:11 ardatan