What it flags
.only on describe, it, test or suite (including chained and computed forms), an effective only: true in the options of a runner imported or required from node:test or imported from Vitest, and Jasmine fit and fdescribe, in a test file. These forms can make CI pass without running the whole suite. Fixtures, docs, examples and vendored code are skipped.
The rule also recognizes a focused Vitest bench.only in a test or .bench file and Mocha context.only in tests, including aliases whose bindings come from the corresponding runner package.
How to review or fix
Loadwise can remove a direct.only modifier from a Node or Vitest test or suite registration when the runner binding and its uses in the same file support the edit. Review the call manually when the file mutates the runner, passes it to other code, stores it in a mutable binding or object, or supplies options that could still focus the registration. If a setup module or external mock replaces the runner, review the affected registrations manually.
Configuration
Set the rule to"off" in loadwise.config.json to drop its findings: