Skip to content

Commit

Permalink
Build: Add caching to ESLint (#225)
Browse files Browse the repository at this point in the history
* Add caching to ESLint

* Update gitignore

* Fix typo

* Remove newline

* Address comment
  • Loading branch information
ddzz committed Jul 9, 2022
1 parent 89922c8 commit 227e595
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 @@ -2,3 +2,4 @@ node_modules/
build/coverage
.nyc_output/
npm-debug.log
.eslintcache
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"test": "npm run lint && npm run unit-test",
"lint": "npm-run-all --continue-on-error --aggregate-output --parallel lint:*",
"lint:docs": "markdownlint \"**/*.md\"",
"lint:js": "eslint ./ --report-unused-disable-directives",
"lint:js": "eslint --cache --report-unused-disable-directives .",
"unit-test": "nyc mocha tests/**/*.js",
"report-coverage-html": "nyc report --reporter=html --report-dir build/coverage",
"preversion": "npm test",
Expand Down

0 comments on commit 227e595

Please sign in to comment.