dextermb / docker-standard-js

Javascript Standard.js style on Docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-standard-js

A Dockerfile for the Javascript Standard style.

Use the following command to run it:

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

You can pass standard options directly to the container

docker run --rm -v  $(pwd):/data dextermb/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):/data dextermb/standard-js standard | docker run --rm -i geniousphp/standard-js standard-reporter --checkstyle

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

Versioning

the first three numbers are always the same as standarjs lib while the last number is for own updates

About

Javascript Standard.js style on Docker


Languages

Language:Dockerfile 100.0%