no-duplicate-test-hook Disallow duplicate lifecycle hooks in one test suite Repeated hooks of the same kind make suite setup and cleanup order depend on registration order. Instead, you SHOULD combine each suite's repeated hook bodies into one hook. - Category: suspicious - Level: warning - Fix: none - Scope: module Reported import { beforeEach } from "destack:test"; beforeEach(() => { // ... }); beforeEach(() => { // ... }); Accepted import { beforeEach } from "destack:test"; beforeEach(() => { // ... // ... }); Prior art - eslint-plugin-jest · no-duplicate-hooks - eslint-plugin-playwright · no-duplicate-hooks language/linter/src/rules/suspicious/noduplicatetesthook.rs:7