Skip to content

Commit

Permalink
chore: remove unused deprecation warnings (#15994)
Browse files Browse the repository at this point in the history
  • Loading branch information
fasttime committed Jun 15, 2022
1 parent a6273b8 commit d94dc84
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions lib/shared/deprecation-warnings.js
Expand Up @@ -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();
Expand Down

0 comments on commit d94dc84

Please sign in to comment.