Build: enable caching in eslint plugin (#64325)

enable caching in eslint plugin
This commit is contained in:
Ashley Harrison 2023-03-07 14:53:50 +00:00 committed by GitHub
parent 4a1c18abf6
commit 0c0d63b830
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'],
}),