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"]