Skip to content

Commit

Permalink
fix(gatsby): disable prettier for results of graphql typegen (#38453)
Browse files Browse the repository at this point in the history
fix(gatsby): handle prettier
  • Loading branch information
derrysucari authored Aug 22, 2023
1 parent 482031f commit 421f95a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/gatsby/src/utils/graphql-typegen/ts-codegen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ export async function writeTypeScriptTypes(
content: `/* eslint-disable */\n`,
},
},
{
add: {
placement: `prepend`,
content: `/* prettier-ignore */\n`,
},
},
{
add: {
placement: `prepend`,
Expand Down

0 comments on commit 421f95a

Please sign in to comment.