Enable eslint cache (#33619)

This commit is contained in:
Wesley Wigham 2019-09-26 13:44:10 -07:00 committed by GitHub
parent 500a0df6f3
commit 62a43576b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

3
.gitignore vendored
View file

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

View file

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