diff --git a/lib/eslint/flat-eslint.js b/lib/eslint/flat-eslint.js index e0791a7129e4..0195769dfe8c 100644 --- a/lib/eslint/flat-eslint.js +++ b/lib/eslint/flat-eslint.js @@ -1214,7 +1214,7 @@ class FlatESLint { /** * Returns whether flat config should be used. - * @returns {Promise} Where flat config should be used. + * @returns {Promise} Whether flat config should be used. */ async function shouldUseFlatConfig() { switch (process.env.ESLINT_USE_FLAT_CONFIG) {