diff --git a/packages/babel-core/src/config/partial.js b/packages/babel-core/src/config/partial.js index 615f3dc08b73..e071484ca17e 100644 --- a/packages/babel-core/src/config/partial.js +++ b/packages/babel-core/src/config/partial.js @@ -189,11 +189,7 @@ class PartialConfig { } /** - * Returns true if their is a config file in the filesystem for this config. - * - * While this only means .babelrc(.mjs)?/package.json#babel right now, it - * may well expand in the future, so using this is recommended vs checking - * this.babelrc directly. + * Returns true if there is a config file in the filesystem for this config. */ hasFilesystemConfig(): boolean { return this.babelrc !== undefined || this.config !== undefined;