diff --git a/.eslintrc.js b/.eslintrc.js index 55afdaf558b..4c52252b52f 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -58,7 +58,6 @@ module.exports = { "@typescript-eslint/no-unsafe-call": "warn", // TODO(bkendall): remove, allow to error. "@typescript-eslint/no-unsafe-member-access": "warn", // TODO(bkendall): remove, allow to error. "@typescript-eslint/no-unsafe-return": "warn", // TODO(bkendall): remove, allow to error. - "@typescript-eslint/no-use-before-define": ["warn", { functions: false, typedefs: false }], // TODO(bkendall): change to error. "@typescript-eslint/no-var-requires": "warn", // TODO(bkendall): remove, allow to error. "@typescript-eslint/prefer-regexp-exec": "warn", // TODO(bkendall): remove, allow to error. "@typescript-eslint/restrict-plus-operands": "warn", // TODO(bkendall): remove, allow to error. @@ -78,7 +77,6 @@ module.exports = { "@typescript-eslint/no-unsafe-call": "off", "@typescript-eslint/no-unsafe-member-access": "off", "@typescript-eslint/no-unsafe-return": "off", - "@typescript-eslint/no-use-before-define": "off", "@typescript-eslint/no-var-requires": "off", "@typescript-eslint/prefer-includes": "off", "@typescript-eslint/prefer-regexp-exec": "off", diff --git a/src/ensureApiEnabled.ts b/src/ensureApiEnabled.ts index b2965cb1abf..c19dd821547 100644 --- a/src/ensureApiEnabled.ts +++ b/src/ensureApiEnabled.ts @@ -118,7 +118,6 @@ async function pollCheckEnabled( pollRetries = 0, ): Promise { if (pollRetries > POLL_SETTINGS.pollsBeforeRetry) { - // eslint-disable-next-line @typescript-eslint/no-use-before-define return enableApiWithRetries(projectId, apiName, prefix, silent, enablementRetries + 1); }