diff --git a/package.json b/package.json index e1d5b609a4ee8c1060edf9842f534c47a40c19b7..4c6731b016937b32980ba5f6143dfc1e9108d8bf 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,9 @@ } }, "lint-staged": { - "*.js": "npm run lint:fix", - "*.json": "npm run lint:fix" + "*.{js,json}": [ + "prettier --write", + "git add" + ] } }