Skip to content

Commit

Permalink
4x speed increase of ESLint by adding --cache
Browse files Browse the repository at this point in the history
  • Loading branch information
vladholubiev committed Jan 6, 2017
1 parent 0d8910e commit 7c855a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,6 @@ admin.env
tmp
.coveralls.yml
tmpdirs-serverless

# ESLint cache
.eslintcache
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 7c855a4

Please sign in to comment.