From 7c855a481b0725adb3bf478055134d59b1cd32df Mon Sep 17 00:00:00 2001 From: Vlad Golubev Date: Sat, 7 Jan 2017 00:41:10 +0200 Subject: [PATCH] 4x speed increase of ESLint by adding --cache --- .gitignore | 3 +++ package.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index b7952abc4..266ff9083 100755 --- a/.gitignore +++ b/.gitignore @@ -40,3 +40,6 @@ admin.env tmp .coveralls.yml tmpdirs-serverless + +# ESLint cache +.eslintcache diff --git a/package.json b/package.json index e35fcc094..4ca9249b6 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ }, "scripts": { "test": "istanbul cover -x '**/*.test.js' node_modules/mocha/bin/_mocha '!(node_modules)/**/*.test.js' -- -R spec --recursive", - "lint": "eslint .", + "lint": "eslint . --cache", "docs": "node scripts/generate-readme.js", "simple-integration-test": "jest --maxWorkers=5 simple-suite", "complex-integration-test": "jest --maxWorkers=5 integration",