SPB Git

Repository Public

eslint.config.mjs 819 B 21 lines javascript

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      // The editors keep imperative state (pointer gestures, history) next to React state.14      "react-hooks/immutability": "off",15      "react-hooks/purity": "off",16      // After sign-in / sign-out the page is reloaded on purpose (new session cookie, server layout re-evaluated).17      "@next/next/no-location-assign-relative-destination": "off",18    },19  },20];21
Files main
Menu

Theme