From 6caa71608c935954a61ad2db98cf0bbaf78a1514 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tobias=20Th=C3=BCring?= <t.thuering@linguala.com>
Date: Wed, 29 Nov 2017 20:35:41 +0100
Subject: [PATCH] chore(eslint): cache previous lints

---
 .gitignore   | 3 +++
 package.json | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index 226e514..935e716 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,3 +21,6 @@ yarn-error.log*
 
 # storybook builds
 storybook-static
+
+# eslint cache
+.eslintcache
diff --git a/package.json b/package.json
index aaf8a6c..0e9f429 100644
--- a/package.json
+++ b/package.json
@@ -15,7 +15,7 @@
     "start": "npm run storybook",
     "test": "ava tests/**/*.js",
     "test:watch": "ava tests/**/*.js -w",
-    "lint": "eslint .",
+    "lint": "eslint --cache .",
     "storybook": "start-storybook -p 9001 -s public",
     "build-storybook": "build-storybook -s public"
   },
-- 
GitLab