Repository Public
1import next from "eslint-config-next";23export default [4 { ignores: [".next/**", "node_modules/**", "next-env.d.ts", "data/**"] },5 ...next,6 {7 rules: {8 "@next/next/no-img-element": "off",9 "@next/next/no-html-link-for-pages": "off",10 // Browser-only state (theme, time zone, fetched data) is read in effects on purpose, to keep SSR output stable.11 "react-hooks/set-state-in-effect": "off",12 "react-hooks/refs": "off",13 // After sign-in / sign-out the page is reloaded on purpose (new session cookie, server layout re-evaluated).14 "@next/next/no-location-assign-relative-destination": "off",15 },16 },17];18