Public | Automated Build

Last pushed: 21 days ago
Short Description
Docker image for jshint
Full Description

Docker image for JSHint checker

JSHint is a community-driven tool to detect errors and potential problems in JavaScript code

Supported tags and respective Dockerfile links


$ docker run -it --rm -v /path/to/javascript/code:/code eeacms/jshint


$ docker run --rm eeacms/jshint

Running in jenkins, including pull requests:

  • GIT_NAME, GIT_SRC - must be given
  • GIT_BRANCH - defaults to master
  • GIT_CHANGE_ID - can be empty or pull request id

    $ docker run -i --rm -e GIT_SRC="$GIT_NAME.git" -e GIT_NAME="$GIT_NAME" -e GIT_BRANCH="$BRANCH_NAME" -e GIT_CHANGE_ID="$CHANGE_ID" eeacms/jshint

Advanced usage

Exclude directories:

$ docker run --rm -e GIT_SRC="" \
         eeacms/jshint --exclude **/_static /code

See --help for more options:

$ docker run --rm eeacms/jshint --help
Docker Pull Command
Source Repository