Public | Automated Build

Last pushed: 6 months ago
Short Description
Javascript Standard.js style on Docker
Full Description

docker-standard-js

A Dockerfile for the Javascript Standard style.

Use the following command to run it :

docker run --rm -v  $(pwd):/standard geniousphp/standard-js standard

You can pass standard options directly to the container

docker run --rm -v  $(pwd):/standard geniousphp/standard-js standard --fix

Use cases

You can use this container in your build/continuous integration system so you can enforce Javascript standards within you team before code integration. It's possible to pipe standard output to standard-reporter in order to export the report into, for example Jenkins, via Checkstyle.

docker run --rm -v  $(pwd):/standard geniousphp/standard-js standard | docker run --rm -i geniousphp/standard-js standard-reporter --checkstyle

Yes, you can pipe container output to other container input :)

Docker Pull Command
Owner
geniousphp
Source Repository

Comments (0)