no-hooks
Added in v0.8.2Configuration
rslint.config.ts
Rule Details
Disallows lifecycle hooks when a project prefers each test to set up and clean up its own state explicitly.
The rule covers beforeAll, beforeEach, afterEach, and afterAll from globals, imports, aliases, and Playwright test objects.