From 6306ae4467571e8ab9d585bda5b76bc340f663b7 Mon Sep 17 00:00:00 2001 From: Tommy Brunn Date: Thu, 5 Oct 2017 17:50:05 +0200 Subject: [PATCH] Configure lint-staged --- package.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package.json b/package.json index ef75e74..15cc8d5 100644 --- a/package.json +++ b/package.json @@ -19,5 +19,11 @@ "husky": "^0.14.3", "lint-staged": "^4.0.2", "prettier": "^1.5.3" + }, + "lint-staged": { + "*.js": [ + "prettier --write", + "git add" + ] } }