From 5560aa9d23e1805e420da5a493f1eb34e4baac60 Mon Sep 17 00:00:00 2001 From: Francesco Trotta Date: Mon, 13 Jun 2022 15:59:27 +0200 Subject: [PATCH] chore: remove unused deprecation warnings --- 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();