chore(lint): disable @next/next/no-location-assign-relative-destination pending per-case review (#10292)

The eslint-config-next bump in #10043 shipped this new rule, flagging 6
pre-existing window.location.href navigations — several are deliberate
full-page reloads (login/logout state reset). Off with tracking issue
rather than a blanket router.push rewrite.
This commit is contained in:
diegosouzapw
2026-08-13 18:28:43 -03:00
committed by Xiangzhe
parent 07b45a11d6
commit d15e1d56c4

View File

@@ -62,6 +62,10 @@ const eslintConfig = [
"no-implied-eval": "error",
"no-new-func": "error",
"no-restricted-imports": ["error", IMPORT_BOUNDARY_RESTRICTIONS],
// New rule shipped by the eslint-config-next bump (#10043); flags 6 pre-existing
// window.location.href navigations, several of which are deliberate full-page
// reloads (login/logout state reset). Off pending per-case review — issue #10292.
"@next/next/no-location-assign-relative-destination": "off",
},
},
// G14: DB internals may use the compatibility barrel while it is decomposed; all