677 B
677 B
Formatting
Command
pnpm formatwrites formatted code (Prettier).pnpm lintverifies formatting plus ESLint; use it as the check.
Prettier
.prettierrcis the source of truth for all Prettier settings. Read it rather than assuming defaults; if its values change, follow the file.- Do not hand-format to match remembered settings — run
pnpm formatand let Prettier decide. .prettierignorelists files Prettier skips (lockfiles,build/,node_modules/, etc.). Respect it.
Tailwind class ordering
prettier-plugin-tailwindcsssorts utility class names automatically. Never manually reorder classes for sorting — just runpnpm format.