# Lint registry for scripts/lint.py — the extension point.
# Add a lint: append a [[lint]] block. No code changes needed.
# name — shown in the summary table.
# globs — files this lint applies to. A lint whose file type didn't
# command — {skill} expands to this skill's directory; {files} to the
# matched files. If the first token isn't an installed tool,
# the lint is skipped with a warning, never failed.
# required — true: a non-zero exit fails the run. false: advisory.
# note — one line of context, echoed when the lint runs.
name = " assertion-quality "
globs = [ " **/*.test.ts " , " **/*.test.tsx " , " **/*.spec.ts " , " **/*.spec.tsx " ]
command = " python3 {skill}/scripts/check_assertion_quality.py {files} "
note = " flags tautological-only assertions and empty test bodies "
globs = [ " **/*.test.ts " , " **/*.test.tsx " , " **/*.spec.ts " , " **/*.spec.tsx " ]
command = " bash {skill}/scripts/check_tests.sh {files} "
note = " hard-fails on committed .skip(/.only(; advisory coverage-config check "
globs = [ " **/pr-body.md " , " **/PR_BODY.md " , " **/*.pr.md " ]
command = " python3 {skill}/scripts/check_pr_body.py {files} "
note = " cross-checks file paths against the real diff; requires a Test plan section — advisory since base-ref/git context varies outside a real PR draft "