Skip to content

Commit

Permalink
Configure codegen to use tabs when running prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
lukebennett88 committed Jan 22, 2024
1 parent 3ca42e6 commit 2ed172d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/sanity-client/codegen.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
}
},
"hooks": {
"afterAllFileWrite": ["prettier --write"]
"afterAllFileWrite": ["prettier --write --use-tabs"]
}
}
2 changes: 1 addition & 1 deletion packages/shopify-client/codegen.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
}
},
"hooks": {
"afterAllFileWrite": ["prettier --write"]
"afterAllFileWrite": ["prettier --write --use-tabs"]
}
}

0 comments on commit 2ed172d

Please sign in to comment.