๐ด Strict
Use vite.configs.strict when the recommended baseline is already clean and you want tighter policy enforcement.
This preset adds stricter guidance for config migrations, server hardening, client env access, and inline Vitest workspace project definitions.
Flat configโ
import vite from "@typpi/eslint-plugin-vite";
export default [vite.configs.strict];
When to use itโ
- your team already understands Vite env-prefix policy
- you want deprecated Vite config aliases caught during review instead of during upgrades
- you want stronger defaults around
server.allowedHosts, CORS, and filesystem exposure - you want stronger review pressure around inline Vitest workspace setup
- you prefer one preset that includes the common baseline and stricter add-ons