mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-02-20 01:21:20 +01:00
This way one can easily check only one directory: $> docker compose -f .ci/compose.yaml run eslint plugins/myplugin
12 lines
112 B
Bash
Executable File
12 lines
112 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -ex
|
|
|
|
if test $# = 0; then
|
|
paths='.'
|
|
else
|
|
paths="$@"
|
|
fi
|
|
|
|
npm exec eslint $paths
|