You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that T3 specifically is formatting Prisma with 4 spaces instead of 2. Using yarn prisma format, it does format back to 2 but after saving (format on file save) the file, it goes back to 4 spaces.
I don't have an .editorconfig or any other global settings that would cause this. I have a dozen projects that use Prisma but this is my first t3 app, and this is the first time I've experience this issue. I've been consulting my neural pathways but they seem to come back with inconclusive responses, so here we are 🙃
This happens straight from install (no code changes, etc).
IF this is a feature, could you help me figure out how to disable the feature or change to 2 spaces? Thanks!
Reproduction repo
N/A
To reproduce
Create a t3 app with the latest (standard documentation flow. just make sure to use prisma)
Additional information
No response
The text was updated successfully, but these errors were encountered:
Provide environment information
System:
OS: macOS 15.0.1
CPU: (10) arm64 Apple M1 Max
Memory: 2.22 GB / 32.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 20.10.0 - ~/.nvm/versions/node/v20.10.0/bin/node
Yarn: 1.22.22 - /opt/homebrew/bin/yarn
npm: 10.2.3 - ~/.nvm/versions/node/v20.10.0/bin/npm
pnpm: 7.16.0 - /opt/homebrew/bin/pnpm
bun: 1.1.33 - ~/.bun/bin/bun
Watchman: 2024.10.14.00 - /opt/homebrew/bin/watchman
Describe the bug
It seems that T3 specifically is formatting Prisma with 4 spaces instead of 2. Using
yarn prisma format
, it does format back to 2 but after saving (format on file save) the file, it goes back to 4 spaces.I don't have an .editorconfig or any other global settings that would cause this. I have a dozen projects that use Prisma but this is my first t3 app, and this is the first time I've experience this issue. I've been consulting my neural pathways but they seem to come back with inconclusive responses, so here we are 🙃
This happens straight from install (no code changes, etc).
IF this is a feature, could you help me figure out how to disable the feature or change to 2 spaces? Thanks!
Reproduction repo
N/A
To reproduce
Create a t3 app with the latest (standard documentation flow. just make sure to use prisma)
Additional information
No response
The text was updated successfully, but these errors were encountered: