Skip to content
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.

Commit

Permalink
Fix lint-staged example in README
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinhagemeister committed Aug 31, 2018
1 parent 5bc9d78 commit c1046c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit c1046c1

Please sign in to comment.