id: mod-no-test-only-ts
language: ts
severity: error
message: .only left in test file
note: '{"severity":"high","category":"convention","resolution":"Remove .only before commit so the full test file executes in CI and locally."}'
files:
  - '**/*.test.ts'
  - '**/*.spec.ts'
rule:
  any:
    - pattern: describe.only($$$ARGS)
    - pattern: it.only($$$ARGS)
    - pattern: test.only($$$ARGS)
