mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-14 03:02:14 +03:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user