Production-ready Next.js boilerplate with: - Runtime env validation (fail-fast on missing vars) - Feature-gated config (S3, Stripe, email, OAuth) - Docker + Coolify deployment pipeline - PostgreSQL + pgvector, MinIO S3, Better Auth - TypeScript strict mode (no ignoreBuildErrors) - i18n (en/es), AI modules, billing, monitoring Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
30 lines
614 B
JavaScript
30 lines
614 B
JavaScript
/** @typedef {import("prettier").Config} PrettierConfig */
|
|
/** @typedef {import("prettier-plugin-tailwindcss").PluginOptions} TailwindConfig */
|
|
|
|
/** @type { PrettierConfig | TailwindConfig } */
|
|
const config = {
|
|
singleQuote: false,
|
|
trailingComma: "all",
|
|
tabWidth: 2,
|
|
useTabs: false,
|
|
printWidth: 80,
|
|
plugins: ["prettier-plugin-tailwindcss"],
|
|
tailwindFunctions: ["cn", "cva"],
|
|
overrides: [
|
|
{
|
|
files: "*.json.hbs",
|
|
options: {
|
|
parser: "json",
|
|
},
|
|
},
|
|
{
|
|
files: "*.js.hbs",
|
|
options: {
|
|
parser: "babel",
|
|
},
|
|
},
|
|
],
|
|
};
|
|
|
|
export default config;
|