Merge pull request #3068 from vladgolubev/eslint-cache

Dramatically improve ESLint’s running time by enabling cache
This commit is contained in:
Philipp Muens 2017-01-09 01:13:30 +01:00 committed by GitHub
commit bf2c6bfc56
2 changed files with 4 additions and 1 deletions

3
.gitignore vendored
View File

@ -40,3 +40,6 @@ admin.env
tmp
.coveralls.yml
tmpdirs-serverless
# ESLint cache
.eslintcache

View File

@ -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",