diff --git a/apps/vscode-extension/src/intellisense/configuration.ts b/apps/vscode-extension/src/intellisense/configuration.ts index af39e7b59e..7dcaa379ac 100644 --- a/apps/vscode-extension/src/intellisense/configuration.ts +++ b/apps/vscode-extension/src/intellisense/configuration.ts @@ -155,7 +155,7 @@ export const configurationCompletionItemProvider = (options: { channel: OutputCh return []; } - const config = (await (await eslint)?.calculateConfigForFile(doc.fileName) || {}) as TSESLint.FlatConfig.Config; + const config = await (await eslint)?.calculateConfigForFile(doc.fileName) || {}; const configurationTags = getConfigurationTagsFromEslintConfig(config, match[0], fileText); return getCompletionsItemsFromConfigurationTags(configurationTags);