Skip to content

Update dependencies, restore linting, and remove legacy scripts - #1074

Merged
James Siri (jamesiri) merged 1 commit into
mainfrom
chore/update-dependencies-and-lint
Nov 18, 2026
Merged

James Siri (jamesiri) merged 1 commit into
mainfrom
chore/update-dependencies-and-lint

Conversation

@jeffwilcox

Copy link
Copy Markdown
Contributor

Summary

Update dependencies and restore a working lint command without changing the site's rendered content or adopting side-by-side TypeScript versions.

  • Upgrade Next.js and its ESLint configuration to 16.4.6, along with the other available dependency updates; keep TypeScript on 6.0.3.
  • Replace the removed next lint command with eslint . and migrate to native flat configuration in the correctly named eslint.config.mjs.
  • Fix source lint errors with proper types, escaped JSX text, safe auto-fixes, and a shared useSyncExternalStore hook for hash-based tabs. Preserve synchronous consent-library loading.
  • Remove the three archived Jekyll scripts and retain the header implementation's attribution through a Git-history permalink.
  • Remove a trailing space inside an opening JSX tag. Verified that the compiled output is identical; rendered word spacing is unchanged.

Validation

  • git diff --check
  • npm ci --dry-run --ignore-scripts --no-audit --no-fund
  • npm run lint — 0 errors, 39 existing warnings
  • npm run build — passes with existing CSS/Sass warnings
  • A11Y_USE_EXISTING_BUILD=1 npm run a11y -- --reporter=line — 13 tests pass
  • Browser checks for default tabs, direct hash links, and tab switching

Remaining warnings / scope

Existing dependency peer-range warnings remain: the lockfile still resolves typescript-eslint 8.57.2, which declares TypeScript below 6, and several ESLint plugins declare support only through ESLint 9. The current install dry-run, lint, build, and accessibility checks pass despite those warnings.

No TypeScript 7 side-by-side setup or repository-wide Prettier reformatting is included.

Upgrade dependencies while keeping TypeScript on 6, migrate to native ESLint flat configuration, fix source lint errors, and remove the archived Jekyll scripts.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@jamesiri
James Siri (jamesiri) merged commit 72c8cb1 into main Nov 18, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants