This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
## Usage: shellcheck.sh [fix] [path to file] | |
# name of all the directories that should be ignored | |
IGNORED_DIR_NAMES=("node_modules" "venv" "reports") | |
# find options for ignoring directories | |
IGNORE_PARAM=$(for i in "${!IGNORED_DIR_NAMES[@]}"; do | |
echo -n "-name ${IGNORED_DIR_NAMES[$i]} "; |
OlderNewer