๐ Vitest Bench
Use vite.configs["vitest-bench"] when your repository contains benchmark files built on Vitest bench APIs.
This preset helps keep benchmark suites separate from correctness tests.
Flat configโ
import vite from "@typpi/eslint-plugin-vite";
export default [vite.configs.vitest-bench];
When to use itโ
- your repo contains
.bench.*files - contributors occasionally add
bench()calls next totest()calls - you want dedicated benchmark hygiene without enabling the full Vitest preset