Skip to content

Commit

Permalink
Fix: lint graphql codegen (#1367)
Browse files Browse the repository at this point in the history
* Add prettier hook for graphql-codegen

* GraphQL: regenerate .ts

* yarn install
  • Loading branch information
ChiTimesChi authored Sep 13, 2023
1 parent b153a99 commit 18cb75e
Show file tree
Hide file tree
Showing 3 changed files with 408 additions and 998 deletions.
3 changes: 3 additions & 0 deletions packages/synapse-interface/codegen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ const config: CodegenConfig = {
},
},
],
hooks: {
afterOneFileWrite: ['prettier --write'],
},
},
},
}
Expand Down
Loading

0 comments on commit 18cb75e

Please sign in to comment.