Files
visit.waterschurch.org/eslint.config.mjs
T
Waters ChurchandClaude Fable 5.1 78cd0cc550 Plan Your Visit landing page for visit.waterschurch.org
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>
2026-09-22 13:22:26 -04:00

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;