#!/bin/bash

# script/lint: Run format and lint-fix in one command
#
# Convenience wrapper that runs scripts/format and scripts/lint-fix in sequence.
# This preserves the previous behavior while exposing explicit 3-mode workflows:
# check, fix, and format.
#
# Usage:
#   ./scripts/lint
#
# Examples:
#   ./scripts/lint

set -euo pipefail

SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
cd "$SCRIPT_DIR/.."

"$SCRIPT_DIR/format"
"$SCRIPT_DIR/lint-fix"
