Enforce having hooks before any test cases (vitest/prefer-hooks-on-top) ⚠️ This rule warns in the 🌐 all config. // bad describe('foo', () => { it('bar', () => { // ... }) beforeEach(() => { // ... }) }) // good describe('foo', () => { beforeEach(() => { // ... }) it('bar', () => { // ... }) })