mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-01 15:37:32 +08:00
9 lines
301 B
Bash
Executable File
9 lines
301 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
# Setting NODE_PATH and config appropriately, using dependencies from
|
|
# client/node_modules, run eslint against args passed to this script.
|
|
# Primary use case here is for a pre-commit check.
|
|
NODE_PATH=src/ node client/node_modules/eslint/bin/eslint.js -c client/.eslintrc.js "$@"
|