Next.js 16 static export + PHP 8 API for cPanel/Apache hosting. - Location-aware campus finder (IP estimate, optional precise location, ZIP search) - Three-step Plan Your Visit form with separate email/SMS consent - PHP API: validation, anti-spam, rate limiting, SQLite lead store, Mailchimp and Sinch Engage adapters, idempotent retries via cron - Attribution capture (utm_*, gclid/gbraid/wbraid, fbclid, ttclid, twclid) and consent-aware analytics hooks - Vitest and PHP test suites, cPanel deployment script and docs Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
18 lines
524 B
JavaScript
18 lines
524 B
JavaScript
import nextConfig from "eslint-config-next";
|
|
import nextTs from "eslint-config-next/typescript";
|
|
|
|
const config = [
|
|
...nextConfig,
|
|
...nextTs,
|
|
{
|
|
rules: {
|
|
// Images are pre-optimized at build time (scripts/optimize-images.mjs) and served statically;
|
|
// next/image adds nothing in a static export with `images.unoptimized`.
|
|
"@next/next/no-img-element": "off",
|
|
},
|
|
},
|
|
{ ignores: ["node_modules/**", ".next/**", "out/**", "public/**", "scripts/**", "tests/php/**"] },
|
|
];
|
|
|
|
export default config;
|