Skip to content

Choose a tag to compare

@github-actions github-actions released this 03 Jul 20:59
7a96d06

Added

  • SARIF output--format sarif emits SARIF 2.1.0 for GitHub code scanning, and --sarif <PATH> writes SARIF to a file alongside the normal stdout report. The GitHub Action now uploads SARIF by default (annotations on the PR diff + Security tab); grant security-events: write to enable the upload. Still gates on findings — no-fail: "true" opts out, sarif: "false" disables the upload.

Changed

  • effect-in-component is now scope-aware: it flags a useEffect only when defined inside a component's body, not merely present in a file that has a component. Effects inside a co-located use* hook are fine.
  • Upgrade the OXC crates from 0.133 to 0.138.

Fixed

  • inline-font no longer flags a font token reference (fontFamily: MONO) or bare generic families (monospace, sans-serif). Only a quoted font or a hardcoded multi-family stack is flagged.

Install: curl -fsSL https://raw.githubusercontent.com/zmaril/straitjacket/main/install.sh | sh

Full changelog: v0.1.0...v0.2.0