drbaher/contract-lint

Lint contracts for internal-consistency defects and gate the build; optionally upload SARIF to GitHub code-scanning.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
pathsFiles and/or directories to lint (space- or newline-separated). Directories are searched for .md/.markdown/.txt/.html/.docx.no.
fail-onSeverity that fails the build: error | warning | none.noerror
versioncontract-lint version to install (default: latest from PyPI).no""
argsExtra arguments passed through to contract-lint (e.g. '--enable signature-block --config .contract-lint.json').no""
sarif-filePath to write the merged SARIF report.nocontract-lint.sarif
upload-sarifUpload the SARIF report to GitHub code-scanning (needs 'security-events: write').notrue
namedescription
findingsTotal number of findings across all linted files.
exit-codeGate exit code (0 clean, 1 findings at/above fail-on).