Commit b4ac0618156a13ab04ff685c5091cb436e8a13a4

Michael Schmidt 2021-06-21T20:14:48

ESLint: Use cache (#2959)

diff --git a/.gitignore b/.gitignore
index 3b16b7d..019ed62 100755
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ hide-*.js
 node_modules
 .idea/
 .DS_Store
+.eslintcache
diff --git a/package.json b/package.json
index f71afdd..8ac2e08 100755
--- a/package.json
+++ b/package.json
@@ -7,8 +7,8 @@
   "scripts": {
     "build": "gulp",
     "start": "http-server -c-1",
-    "lint": "eslint .",
-    "lint:fix": "eslint . --fix",
+    "lint": "eslint . --cache",
+    "lint:fix": "npm run lint -- --fix",
     "lint:ci": "eslint . --max-warnings 0",
     "test:aliases": "mocha tests/aliases-test.js",
     "test:core": "mocha tests/core/**/*.js",