no-focused-tests
Added in v0.8.1Configuration
rslint.config.ts
Rule Details
Disallows focused tests and suites. Leaving .only in committed code prevents the rest of the suite from running.
The rule recognizes .only on Rstest tests and suites, including aliases, parameterized registrations, fixtures, and Playwright integrations.
Incorrect
Correct
Suggestions
Offers a suggestion to remove .only when the focused modifier is unambiguous.