Skip to main content

One post tagged with "vitest"

View All Tags

Why eslint-plugin-vite centers config safety and Vitest workspaces

ยท One min read
Nick2bad4u
Project Maintainer

When Vite projects go wrong, the problem is often not a generic syntax issue. It is usually a mismatch with one of Vite's runtime contracts:

  • a config file exports the wrong shape
  • a client bundle relies on dynamic import.meta.env access
  • a workspace mixes test and benchmark APIs in ways that make results harder to trust
  • a server option disables a protection that Vite enables by default

That is why eslint-plugin-vite is intentionally centered on config safety and workspace correctness.