SSR rules
Follow each rule for purpose, severity, scope, configuration, and Bad/Good examples. The complete catalogue keeps all examples and current support boundaries on one page.
Configure lint.vize.rules and run vp run lint with the Vite+ helper. Check each page for type-aware, filename, or additional-configuration prerequisites.
| Rule | Examples | Purpose |
|---|---|---|
ssr/no-browser-globals-in-ssr |
Bad · Good | Disallow browser-only globals in SSR context |
ssr/no-hydration-mismatch |
Bad · Good | Disallow non-deterministic values that cause hydration mismatch |
All rules · Rule Options · ESLint migration map · Project checks