https://github.com/galaxyproject/galaxy
Raw File
Tip revision: a7f0a365be176e8ae4445db147a634b3b1fbb3b3 authored by mvdbeek on 13 June 2023, 15:58:13 UTC
Create version 23.0.2
Tip revision: a7f0a36
eslint_wrapper.sh
#!/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.json "$@"
back to top