mirror of
https://github.com/nextcloud/spreed.git
synced 2025-12-18 05:20:50 +01:00
11 lines
224 B
Bash
Executable file
11 lines
224 B
Bash
Executable file
#!/bin/sh
|
|
set -e
|
|
|
|
ESLINT=$(which eslint || true)
|
|
if [ -z "$ESLINT" ]; then
|
|
echo "Can't find command \"eslint\" in $PATH"
|
|
exit 1
|
|
fi
|
|
|
|
echo Checking scripts with $ESLINT ...
|
|
find -name "*.js" -print0 | xargs -0 $ESLINT
|