Docker images for code beautifiers/formatters.
See list of beautifier Docker images at https://hub.docker.com/u/unibeautify/
Name | Build Status | Pulls | Stars | Size |
---|---|---|---|---|
autopep8 | ||||
beautysh | ||||
black | ||||
ClangFormat | ||||
Crystal | ||||
elm-format | ||||
goimports | ||||
ocp-indent | ||||
php-cs-fixer | ||||
phpcbf | ||||
puppet-lint | ||||
Rscript | ||||
rubocop | ||||
ruby-beautify | ||||
sass-convert | ||||
sqlformat | ||||
uncrustify |
Docker is required.
- Install Whalebrew
whalebrew install unibeautify/BEAUTIFIER
e.g.whalebrew install unibeautify/php-cs-fixer
- Profit! You can now run the installed beautifier command.
e.g.php-cs-fixer --version
- Pull the Docker image:
docker pull unibeautify/BEAUTIFIER
e.g.docker pull unibeautify/php-cs-fixer
- Run the Docker image:
docker run -it -v "$(pwd)":/workdir -w /workdir unibeautify/BEAUTIFIER "--version"
e.g.docker run -it -v "$(pwd)":/workdir -w /workdir unibeautify/php-cs-fixer "--version"
Note: Some tools could change file ownership/permissions upon reformat and/or rewriting. Adding --user "$(id -u):$(id -g)"
to your docker run
command should prevent this.