From d94dc84ae76a36b4ee9268c40d8536d2f5b1c63c Mon Sep 17 00:00:00 2001 From: Francesco Trotta Date: Wed, 15 Jun 2022 02:15:58 +0200 Subject: [PATCH] chore: remove unused deprecation warnings (#15994) --- lib/shared/deprecation-warnings.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/lib/shared/deprecation-warnings.js b/lib/shared/deprecation-warnings.js index 1a0501ab057..d09cafb07fe 100644 --- a/lib/shared/deprecation-warnings.js +++ b/lib/shared/deprecation-warnings.js @@ -17,14 +17,7 @@ const path = require("path"); // Definitions for deprecation warnings. const deprecationWarningMessages = { ESLINT_LEGACY_ECMAFEATURES: - "The 'ecmaFeatures' config file property is deprecated and has no effect.", - ESLINT_PERSONAL_CONFIG_LOAD: - "'~/.eslintrc.*' config files have been deprecated. " + - "Please use a config file per project or the '--config' option.", - ESLINT_PERSONAL_CONFIG_SUPPRESS: - "'~/.eslintrc.*' config files have been deprecated. " + - "Please remove it or add 'root:true' to the config files in your " + - "projects in order to avoid loading '~/.eslintrc.*' accidentally." + "The 'ecmaFeatures' config file property is deprecated and has no effect." }; const sourceFileErrorCache = new Set();