From ddac9473ca5d92562f1eb0790dd00b9ff5940915 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20O=E2=80=99Shannessy?= Date: Tue, 16 Jun 2015 01:16:59 -0700 Subject: [PATCH] npm script to run lint only on changed files --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index ca756d8766..2c53fa74e7 100644 --- a/package.json +++ b/package.json @@ -75,6 +75,7 @@ "test": "jest", "jest": "jest", "lint": "grunt lint", + "linc": "git diff --name-only --diff-filter=ACMRTUB `git merge-base HEAD master` | grep '\\.js$' | xargs eslint --", "build": "grunt build" }, "jest": {