From 72cd92b90f155d682e4c966152f383b1f0a1869d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Burzy=C5=84ski?= Date: Wed, 7 Jun 2017 19:53:38 +0200 Subject: [PATCH] Run eslint on staged files as part of the precommit hook (#399) --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index c6444c01..75e5cb28 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ "lint-staged": { "*.js": [ "prettier --semi false --trailing-comma es5 --single-quote --write", + "eslint --fix", "git add" ] },