Skip to content

Commit

Permalink
Enable caching for ESLint
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
not-an-aardvark committed Sep 4, 2016
1 parent 134dd2d commit 7eb2d5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ doc/
coverage/
test/_browser.spec.js
oauth_info.json
.eslintcache
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"main": "dist/snoowrap.js",
"scripts": {
"compile": "babel -d dist/ src/ && browserify --im test/snoowrap.spec.js -o test/_browser.spec.js -t [ babelify ]",
"lint": "eslint --ignore-path .gitignore .",
"lint": "eslint --ignore-path .gitignore . --cache",
"pretest": "npm run lint && npm run compile",
"test": "mocha --compilers js:babel-core/register test/snoowrap.spec.js",
"test:browser": "npm run pretest && open test/run-tests.html",
Expand Down

0 comments on commit 7eb2d5e

Please sign in to comment.