file_shebang
First line of each file in scope must match the shebang regex. Pairs with executable_has_shebang (which checks shebang presence on +x files) — file_shebang checks shebang shape.
- id: scripts-use-env-bash kind: shebang paths: "scripts/*.sh" shebang: '^#!/usr/bin/env bash$' level: errorDefault shebang: is ^#!, which only enforces presence; almost every useful config supplies a tighter regex pinning the interpreter.