From 0383a5e5c36863e59a5c90505e0a1a92c436e4ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josejulio=20Mart=C3=ADnez?= Date: Wed, 12 Dec 2018 16:31:32 -0600 Subject: [PATCH] feat: Fail on fix (#52) --- README.md | 4 ++++ bin/pretty-quick.js | 1 + 2 files changed, 5 insertions(+) diff --git a/README.md b/README.md index c80287c..8190bb0 100644 --- a/README.md +++ b/README.md @@ -92,6 +92,10 @@ When not in `staged` pre-commit mode, use this flag to compare changes with the Outputs the name of each file right before it is proccessed. This can be useful if Prettier throws an error and you can't identify which file is causing the problem. +## `--bail` + +Prevent `git commit` if any files are fixed. +