How-to guides
Each one is a focused recipe for a single job, assuming you already know the basics from the tutorial.
- Add Straitjacket to CI — Run it on every push with the bundled GitHub Action.
- Suppress a false positive — Silence a finding on one line or across a whole file.
- Exclude big or generated files — Keep generated output and vendored code out of the scan.
- Tune or disable rules — Run a subset, adjust thresholds, change the output.
- Add Straitjacket to CI Run Straitjacket on every push with the bundled GitHub Action, and configure it with typed fields.
- Suppress a false positive Silence a finding on one line or across a whole file with straitjacket-allow markers.
- Exclude big or generated files Keep generated output, vendored code, and oversized files from tripping Straitjacket.
- Tune or disable rules Run a subset of rules, adjust thresholds, and change how findings are reported.
- Scope checks per package in a monorepo Give each package its own settings, and scan one package or the whole tree.
Straitjacket