fix(dev): use portable Bash shebangs (#2536)

Resolve Bash through PATH so repository development entrypoints run on NixOS and other systems without /bin/bash.
This commit is contained in:
Ivan Malison
2026-08-01 00:14:39 +02:00
committed by GitHub
parent c0dcb4433a
commit 5f575fcdd6
7 changed files with 10 additions and 6 deletions
+4
View File
@@ -14,6 +14,10 @@ For testing rules, see [testing.md](testing.md).
- **`interface`** over `type` when both work.
- **No `index.ts` barrel files** that only re-export — they create indirection and circular-dep risk. Import from the source.
## Shell scripts
- Bash scripts always use `#!/usr/bin/env bash`. Never hard-code `/bin/bash` or `/usr/bin/bash`; those paths are not portable to environments such as NixOS.
## Comments and noise
- Delete any comment where removing it loses zero information. Comments explain _why_, not _what_.