9988871 Show on GitHub

  • Author: RazanSagheer
  • Date: 2/9/2026, 10:36:39 PM
  • Message: chore: define browser globals as readonly in ESLint config #242 - Added `setTimeout` and `history` to ESLint globals with 'readonly' access to avoid false "not defined" errors in +layout.svelte. - These globals are only available in the browser (not during SSR), but are safely guarded with `typeof window !== "undefined"`. Declaring them as readonly ensures ESLint accepts their use without disabling useful rules like `no-undef`. Refs #242
  • Stats: 71 total changes (+42 / -29)

Changed Files

  • CONTRIBUTING.md — +34 / -19 (53 changes)
  • HANDOVER.md — +5 / -8 (13 changes)
  • README.md — +0 / -1 (1 changes)
  • eslint.config.js — +3 / -1 (4 changes)