1
0
mirror of https://github.com/HariSekhon/DevOps-Bash-tools.git synced 2025-02-06 09:28:21 +00:00

updated check_javascript_eslint.sh

This commit is contained in:
Hari Sekhon 2024-11-19 19:47:30 +04:00
parent eb9fa7423c
commit ac0e138a7b

View File

@ -45,6 +45,11 @@ section "E s L i n t"
start_time="$(start_timer)"
if ! type -P eslint &>/dev/null &&
type -P npm; then
npm install eslint
fi
if type -P eslint &>/dev/null; then
type -P eslint
eslint --version