diff --git a/Makefile b/Makefile index 15c7da7..b3f4190 100644 --- a/Makefile +++ b/Makefile @@ -34,3 +34,8 @@ dotfiles: .PHONY: test test: ./test-in-docker.sh + +.PHONY: fmt +fmt: + git ls-files -z '*.md' | xargs -0 prettier --print-width 80 --prose-wrap always --write + git ls-files -z '*.toml' | xargs -0 taplo format