From 0c0d63b830ecdda3b24f9742d9d3ca2e25ac0ff4 Mon Sep 17 00:00:00 2001 From: Ashley Harrison Date: Tue, 7 Mar 2023 14:53:50 +0000 Subject: [PATCH] Build: enable caching in eslint plugin (#64325) enable caching in eslint plugin --- scripts/webpack/webpack.dev.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/webpack/webpack.dev.js b/scripts/webpack/webpack.dev.js index c549a5275a1..89d6962f83c 100644 --- a/scripts/webpack/webpack.dev.js +++ b/scripts/webpack/webpack.dev.js @@ -88,8 +88,8 @@ module.exports = (env = {}) => }, }, }), - // next major version of ForkTsChecker is dropping support for ESLint new ESLintPlugin({ + cache: true, lintDirtyModulesOnly: true, // don't lint on start, only lint changed files extensions: ['.ts', '.tsx'], }),