You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@eslint/eslintrcConfigValidator.formatErrors: TypeError: Converting circular structure to JSON
eslint-config-next@15.5.20 ships no flat-config entry point — only index.js, core-web-vitals.js, typescript.js, and no exports map. Native flat config arrives with eslint-config-next 16, so the migration and the Next bump have to land together; neither bump can succeed alone.
Work
Bump next and eslint-config-next to 16, and eslint to 10.
Replace FlatCompat with eslint-config-next's native flat config, dropping the @eslint/eslintrc and @rushstack/eslint-patch dependencies.
Keep the current ignores (.next/**, next-env.d.ts).
Verify pnpm --filter @headless/web lintandnext build — Next 16 is a framework major, so the build is the real check, not just lint.
Two Dependabot bumps failed in the same place, for the same reason.
apps/web/eslint.config.mjswraps the legacy eslintrc configs throughFlatCompat:That shim is what breaks:
@rushstack/eslint-patch, pulled in by the legacy config path, throws on load@eslint/eslintrcConfigValidator.formatErrors:TypeError: Converting circular structure to JSONeslint-config-next@15.5.20ships no flat-config entry point — onlyindex.js,core-web-vitals.js,typescript.js, and noexportsmap. Native flat config arrives with eslint-config-next 16, so the migration and the Next bump have to land together; neither bump can succeed alone.Work
nextandeslint-config-nextto 16, andeslintto 10.FlatCompatwith eslint-config-next's native flat config, dropping the@eslint/eslintrcand@rushstack/eslint-patchdependencies..next/**,next-env.d.ts).pnpm --filter @headless/web lintandnext build— Next 16 is a framework major, so the build is the real check, not just lint.PRs #74 and #76 were closed in favour of this; left open they would only be rebased and re-fail.