mmarkell / prettier

Dockernized prettier. This is an opinionated code formatter.

Home Page:https://github.com/prettier/prettier

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Dockernized prettier. This is an opinionated code formatter.

https://github.com/prettier/prettier

License:Apache License 2.0


Languages

Language:Makefile 58.3%Language:Dockerfile 29.7%Language:Shell 12.0%