From c1046c155d16cc8be2e32c7c60850fe5cafa9912 Mon Sep 17 00:00:00 2001 From: Marvin Hagemeister Date: Fri, 31 Aug 2018 10:14:12 +0200 Subject: [PATCH] Fix lint-staged example in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2d69c17..0d0a43f 100644 --- a/README.md +++ b/README.md @@ -233,7 +233,7 @@ staged file ends with `.js` or `.json`: { "name": "my-project", "scripts": { - "pre-commit": "echo 'hello world'" + "pre-commit": "lint-staged" }, "lint-staged": { "*.{js,json}": ["prettier --write", "git add"]