codeclimate/codeclimate-eslint

View on GitHub
bin/yarn

Summary

Maintainability
Test Coverage
#!/bin/bash

set -e

case "$(uname -s)" in
 "Darwin") user="root:root" ;;
 *) user="$(id -u):$(id -g)" ;;
esac

docker run \
  --rm \
  --user "$user" \
  --volume "$PWD:/usr/src/app" \
  --workdir "/usr/src/app" \
  codeclimate/codeclimate-eslint yarn "$@"