Bug
The Prettier workflow runs prettier --write . on every non-main branch push, but two generated files are not excluded:
frontend/src/renderer/routeTree.gen.ts
frontend/pnpm-lock.yaml
When either generator produces output that differs from Prettier's rendering, the workflow can push a large formatter commit unrelated to the feature branch. Generated route output and package-manager lockfiles should remain owned by their generators.
Current main is already Prettier-clean, so this does not require a repository-wide formatting baseline.
Proposed fix
Add only those two generated paths to .prettierignore.
Acceptance criteria
- Prettier no longer rewrites the generated route tree or pnpm lockfile.
- Human-authored files remain covered by the workflow.
- The change contains no documentation or source formatting churn.
Ported and narrowed from the original rewrite issue.
Bug
The Prettier workflow runs
prettier --write .on every non-main branch push, but two generated files are not excluded:frontend/src/renderer/routeTree.gen.tsfrontend/pnpm-lock.yamlWhen either generator produces output that differs from Prettier's rendering, the workflow can push a large formatter commit unrelated to the feature branch. Generated route output and package-manager lockfiles should remain owned by their generators.
Current
mainis already Prettier-clean, so this does not require a repository-wide formatting baseline.Proposed fix
Add only those two generated paths to
.prettierignore.Acceptance criteria
Ported and narrowed from the original rewrite issue.