Enable eslint cache (#33619)
This commit is contained in:
Родитель
500a0df6f3
Коммит
62a43576b3
|
@ -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",
|
||||
|
|
Загрузка…
Ссылка в новой задаче