11
Github GitHub - tmknom/prettier: Dockernized prettier. This is an opinionated co...
source link: https://github.com/tmknom/prettier
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
prettier
An opinionated code formatter based on Docker.
This is prettier wrapper.
Requirements
Usage
Format markdown
docker run --rm -v "$PWD:/work" tmknom/prettier --parser=markdown --write '**/*.md'
Format json
docker run --rm -v "$PWD:/work" tmknom/prettier --parser=json --write '**/*.json'
docker run --rm tmknom/prettier
Makefile targets
build Build docker image
format Format code
help Show help
install Install requirements
lint Lint code
release Release
Development
Installation
git clone [email protected]:tmknom/prettier.git cd prettier make install
Deployment
- Bump VERSION file.
- Run
make release
. - Automatically deployed by "Docker Hub Automated Build".
Deployment Pipeline
License
Apache 2 Licensed. See LICENSE for full details.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK