navi/scripts/lint
Denis Isidoro c4e9c7a90a
Refactor code (#49)
Use dictionaries + more
2019-09-23 17:46:16 -03:00

12 lines
387 B
Bash
Executable file

#!/usr/bin/env bash
set -euo pipefail
export SCRIPT_DIR="$(cd "$(dirname "$0")/.." && pwd)"
# please refer to https://github.com/denisidoro/dotfiles/blob/master/scripts/code/beautify
cd "${SCRIPT_DIR}"
find . -iname '*.sh' | xargs -I% dot code beautify %
find scripts/* | xargs -I% dot code beautify %
dot code beautify "${SCRIPT_DIR}/test/run"
dot code beautify "${SCRIPT_DIR}/navi"