/prettier

Dockernized prettier. This is an opinionated code formatter.

Primary LanguageMakefileApache License 2.0Apache-2.0

prettier

An opinionated code formatter based on Docker.

This is prettier wrapper.

Requirements

Usage

Format markdown

docker run --rm -v "$PWD:/work" unohealth/prettier-please --parser=markdown --write '**/*.md'

Format json

docker run --rm -v "$PWD:/work" unohealth/prettier-please --parser=json --write '**/*.json'

Help

docker run --rm unohealth/prettier-please

Makefile targets

build                          Build docker image
format                         Format
help                           Show help
install                        Install requirements
lint                           Lint

Development

Installation

git clone git@github.com:mmarell/prettier.git
cd prettier
make install

Deployment

Automatically deployed by "DockerHub Automated Build" after merge.

Deployment Pipeline

  1. GitHub - Version Control System
  2. CircleCI - Continuous Integration
  3. Docker Hub - Docker Registry
  4. MicroBadger - Docker Inspection

License

Apache 2 Licensed. See LICENSE for full details.