We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add
@graphql-codegen/add
add plugin should add eslint-disable to generated files
graphql-code-generator/packages/presets/client/src/index.ts
Line 215 in 5724234
it does so except for index.ts
All files except index.ts has /* eslint-disable */ added to them
/* eslint-disable */
See bellow
/* eslint-disable */ export * from "./fragment-masking"; export * from "./gql";
No response
OS: macos
NodeJS: 22
graphql version: 16.3
graphql
"@graphql-codegen/add": "^5.0.3", "@graphql-codegen/cli": "^5.0.3", "@graphql-codegen/client-preset": "^4.5.1", "@graphql-codegen/fragment-matcher": "^5.0.2", "@graphql-codegen/typescript": "^4.1.2", "@graphql-codegen/typescript-document-nodes": "^4.0.12", "@graphql-codegen/typescript-operations": "^4.4.0", "@graphql-codegen/typescript-react-apollo": "^4.3.2",
const config: CodegenConfig = { documents: 'src/**/*.graphql', generates: { './src/gql/': { preset: 'client', }, }, overwrite: true, schema: '../schema.graphqls', watch: false, };
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Which packages are impacted by your issue?
@graphql-codegen/add
Describe the bug
add plugin should add eslint-disable to generated files
graphql-code-generator/packages/presets/client/src/index.ts
Line 215 in 5724234
it does so except for index.ts
All files except index.ts has
/* eslint-disable */
added to themYour Example Website or App
See bellow
Steps to Reproduce the Bug or Issue
Expected behavior
Screenshots or Videos
No response
Platform
OS: macos
NodeJS: 22
graphql
version: 16.3"@graphql-codegen/add": "^5.0.3",
"@graphql-codegen/cli": "^5.0.3",
"@graphql-codegen/client-preset": "^4.5.1",
"@graphql-codegen/fragment-matcher": "^5.0.2",
"@graphql-codegen/typescript": "^4.1.2",
"@graphql-codegen/typescript-document-nodes": "^4.0.12",
"@graphql-codegen/typescript-operations": "^4.4.0",
"@graphql-codegen/typescript-react-apollo": "^4.3.2",
Codegen Config File
Additional context
No response
The text was updated successfully, but these errors were encountered: