Preact + Prettier
Opinionated code formatter. This page shows exactly what pickstack adds to a Preact 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 preact --modules prettier --yesCustomize in the configurator
Packages it adds
| Package | Version | Type |
|---|---|---|
prettier | ^3.10.1 | dev |
New files
dist pnpm-lock.yaml package-lock.json yarn.lock bun.lock
{}
Project files
.gitignore.prettierignore.prettierrcREADME.mdindex.htmlpackage.jsonsrc/App.tsxsrc/components/Counter.tsxsrc/index.csssrc/main.tsxtsconfig.app.jsontsconfig.jsontsconfig.node.jsonvite.config.ts