diff --git a/extensions/typescript-language-features/src/configuration/languageDescription.ts b/extensions/typescript-language-features/src/configuration/languageDescription.ts index 95c165bf14d5b..a97530e5ac478 100644 --- a/extensions/typescript-language-features/src/configuration/languageDescription.ts +++ b/extensions/typescript-language-features/src/configuration/languageDescription.ts @@ -32,7 +32,7 @@ export const standardLanguageDescriptions: LanguageDescription[] = [ diagnosticSource: 'ts', diagnosticLanguage: DiagnosticLanguage.TypeScript, languageIds: [languageIds.typescript, languageIds.typescriptreact], - configFilePattern: /^tsconfig(\..*)?\.json$/gi, + configFilePattern: /^tsconfig(\..*)?\.json$/i, standardFileExtensions: [ 'ts', 'tsx', @@ -45,7 +45,7 @@ export const standardLanguageDescriptions: LanguageDescription[] = [ diagnosticSource: 'ts', diagnosticLanguage: DiagnosticLanguage.JavaScript, languageIds: [languageIds.javascript, languageIds.javascriptreact], - configFilePattern: /^jsconfig(\..*)?\.json$/gi, + configFilePattern: /^jsconfig(\..*)?\.json$/i, standardFileExtensions: [ 'js', 'jsx',