Files
clawdbot/Swabble/scripts/lint.sh
2026-01-20 08:26:56 +00:00

10 lines
224 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
CONFIG="${ROOT}/.swiftlint.yml"
if ! command -v swiftlint >/dev/null; then
echo "swiftlint not installed" >&2
exit 1
fi
swiftlint --config "$CONFIG"