โ๏ธ Configs
Use vite.configs.configs when you only want rules that target Vite and Vitest configuration files.
This preset intentionally ignores client-runtime patterns and benchmark organization.
It is the smallest preset that still covers Vite-specific config migrations and unsafe server defaults.
Flat configโ
import vite from "@typpi/eslint-plugin-vite";
export default [vite.configs.configs];
When to use itโ
- you mainly want config-file guardrails
- you want to catch deprecated Vite config paths before they spread across packages
- you want review pressure around dev-server host, CORS, and filesystem safety
- your project has generated client files that should stay out of scope
- you want a smaller entry point before enabling broader presets