#!/usr/bin/env bash set -euo pipefail # Optional: silence ESLint v9 warning by disabling legacy .eslintignore if [[ -f .eslintignore ]]; then mv .eslintignore .eslintignore.bak echo "Moved .eslintignore -> .eslintignore.bak (flat config 'ignores' is now the source of truth)." else echo "No .eslintignore found. Nothing to do." fi