Run SwiftFormat and SwiftLint on staged Swift files in the pre-commit hook (formatting-and-linting.md), gracefully skipping when a tool is absent since CI re-runs both. Enforce the Conventional Commits subject format and the 72-character subject limit in the commit-msg hook (commits.md). Correct the pre-push comment that named the removed ci.yml. |
||
|---|---|---|
| .. | ||
| commit-msg | ||
| pre-commit | ||
| pre-push | ||