mirror of
https://github.com/tridactyl/tridactyl.git
synced 2026-09-10 07:16:33 -04:00
10 lines
256 B
Bash
Executable file
10 lines
256 B
Bash
Executable file
#!/bin/sh
|
|
cd "${0%/*}"/.. || exit 1
|
|
if [ -x "$(command -v shellcheck)" ]; then
|
|
GLOBIGNORE="node_modules" shellcheck -e2012 ./**/*.sh
|
|
else
|
|
echo "Warning: shellcheck is not installed, skipping shell scripts"
|
|
fi
|
|
yarn run lint
|
|
"$(yarn bin)/eslint" --ext .ts
|