## Lesson — When detecting Bun environments, check for both bun.lockb

**Tags:** architecture, curated
**Pattern:** ^(?=.*\bbun\.lockb?\b)(?!.*\bbun\.lockb\b.*\bbun\.lock\b|.*\bbun\.lock\b.*\bbun\.lockb\b).*$
**Engine:** regex
**Scope:** **/*.js, **/*.ts, **/*.jsx, **/*.tsx, **/*.sh, **/*.yml, **/*.yaml, Dockerfile*
**Severity:** error

When detecting Bun environments, check for both bun.lockb.
