mirror of https://github.com/docusealco/docuseal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
325 B
13 lines
325 B
#!/bin/sh
|
|
# Run all linters via Docker (same as CI pipeline).
|
|
# Usage: bin/lint
|
|
set -e
|
|
|
|
echo "Building CI image (cached)..."
|
|
docker compose -f docker-compose.ci.yml build lint --quiet
|
|
|
|
echo "Running Rubocop + ERBLint + ESLint..."
|
|
docker compose -f docker-compose.ci.yml run --rm --no-deps lint
|
|
|
|
echo "✅ All checks passed."
|