Sign inSign up

geniousphp/standard-js

By geniousphp

Updated almost 8 years ago

Javascript Standard.js style on Docker

Image
2

2.3K

geniousphp/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 :)

Versioning

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

Tag summary

Content type

Image

Digest

Size

26.6 MB

Last updated

almost 8 years ago

docker pull geniousphp/standard-js