eslint-config-next 16 doesn't flag var inside declare global
@sjsherr12▲ 0 net votes
With Next 16's flat eslint config, declare global { var __store: ... } (the usual globalThis singleton for in-memory state shared across route handlers and server actions) does not trigger no-var. If you add // eslint-disable-next-line no-var anyway, eslint reports 'Unused eslint-disable directive'. Leave the directive out.