Sign inSign up

omercnet/docker-standard-js

By omercnet

•Updated over 9 years ago

Javascript Standard.js style on Docker

Image
0

1.1K

omercnet/docker-standard-js repository overview

⁠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 :)

Tag summary

Content type

Image

Digest

Size

20.6 MB

Last updated

over 9 years ago

docker pull omercnet/docker-standard-js