Sign-in steps (password, sign-up, email code, two-step sign-in and its setup with recovery codes, privacy notice, news question), forgot and reset password, the account page, admin (people, deletions, church profile, linked products, settings, notice, licence, audit) and setup. Strict CSP with a nonce per page; church colours from the profile. @crosscode/ui gets its first components (shell, card, fields, buttons). Plan: roles stay in each product (asked 2026-11-18). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
18 lines
614 B
JavaScript
18 lines
614 B
JavaScript
import { defineConfig, globalIgnores } from "eslint/config";
|
|
import nextVitals from "eslint-config-next/core-web-vitals";
|
|
import nextTs from "eslint-config-next/typescript";
|
|
|
|
// Next.js 16's own flat configs, as Cross Events. Run with `npm run lint`.
|
|
export default defineConfig([
|
|
...nextVitals,
|
|
...nextTs,
|
|
{
|
|
rules: {
|
|
"react-hooks/exhaustive-deps": ["warn", { additionalHooks: "^useExternalEffect$" }],
|
|
// Logos and QR codes are small and come from the church's own settings.
|
|
"@next/next/no-img-element": "off",
|
|
},
|
|
},
|
|
globalIgnores([".next/**", "out/**", "next-env.d.ts"]),
|
|
]);
|