pickstack

Next.js + Prettier

Opinionated code formatter. This page shows exactly what pickstack adds to a Next.js project for Prettier: the packages, the new files and the changes to existing ones. Every combination is installed, built, linted and tested in CI.

$ npm create pickstack@latest my-app -- --framework next --modules prettier --yes
Customize in the configurator

Packages it adds

PackageVersionType
prettier^3.10.1dev

New files

.prettierignore
dist
.next
out
next-env.d.ts
*.tsbuildinfo
pnpm-lock.yaml
package-lock.json
yarn.lock
bun.lock
.prettierrc
{}

Changes to existing files

app/about/page.tsx (changed)
⋯ 2 unchanged lines     <section className="page">       <h1 className="title">About</h1>       <p className="text">+        Built with Next.js (App Router), React 19, TypeScript, Prettier.−        Built with Next.js (App Router), React 19, TypeScript.       </p>     </section>   );⋯ 2 unchanged lines

Project files

Related templates