diff --git a/eslint-plugin-prettier.js b/eslint-plugin-prettier.js index 23249c1a..fd7e453c 100644 --- a/eslint-plugin-prettier.js +++ b/eslint-plugin-prettier.js @@ -154,15 +154,6 @@ module.exports = { const filepath = context.getFilename(); const source = sourceCode.text; - // This allows long-running ESLint processes (e.g. vscode-eslint) to - // pick up changes to .prettierrc without restarting the editor. This - // will invalidate the prettier plugin cache on every file as well which - // will make ESLint very slow, so it would probably be a good idea to - // find a better way to do this. - if (usePrettierrc && prettier && prettier.clearConfigCache) { - prettier.clearConfigCache(); - } - return { Program() { if (!prettier) {