Skip to content

Commit

Permalink
Enable eslint cache (microsoft#33619)
Browse files Browse the repository at this point in the history
  • Loading branch information
weswigham authored Sep 26, 2019
1 parent 500a0df commit 62a4357
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,5 @@ tests/cases/user/create-react-app/create-react-app
tests/cases/user/webpack/webpack
tests/cases/user/puppeteer/puppeteer
tests/cases/user/axios-src/axios-src
tests/cases/user/prettier/prettier
tests/cases/user/prettier/prettier
.eslintcache
2 changes: 2 additions & 0 deletions Gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,8 @@ const eslint = (folder) => async () => {

const args = [
"node_modules/eslint/bin/eslint",
"--cache",
"--cache-location", `${folder}/.eslintcache`,
"--format", "autolinkable-stylish",
"--rulesdir", "scripts/eslint/built/rules",
"--ext", ".ts",
Expand Down

0 comments on commit 62a4357

Please sign in to comment.