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
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 :)
the first three numbers are always the same as standarjs
lib while the last number is for own updates