barker/lint.sh

17 lines
349 B
Bash
Executable File

#!/usr/bin/env bash
set -eEu -o pipefail
shopt -s extdebug
IFS=$'\n\t'
parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" || exit ; pwd -P )
cd "$parent_path/bookie" || exit
npx prettier --write src/app
npx ng lint --fix
cd "$parent_path/barker" || exit
ruff format .
ruff check --fix .
bandit --recursive barker
bandit --recursive .
safety check