Adopting on a legacy codebase
- See the damage:
dscheck report src— totals by rule, worst files. - Accept current debt:
dscheck baseline srcand commit.dscheck-baseline.json. - Gate the new: add
dscheck check srcto CI. It fails only on findings beyond the baseline; the run header shows how much debt the baseline is absorbing. - Pay down deliberately:
dscheck reportshows the delta; when you clean a file, rundscheck baseline --update— prune-only, so counts can fall but never rise. - Exempt what’s exempt: content surfaces via
ignoreglobs, runtime-injected variables viaallowglobs — visible in config, not scattered in disable comments.