mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-04 03:09:39 -06:00
Enable eslint cache (#33619)
This commit is contained in:
parent
500a0df6f3
commit
62a43576b3
3
.gitignore
vendored
3
.gitignore
vendored
@ -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
|
||||
@ -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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user