Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 16adda4

Browse files
Kristján Oddssonbradzacher
Kristján Oddsson
authored andcommitted
chore(typescript-estree): fix package name in warning message (typescript-eslint#1093)
1 parent ec62747 commit 16adda4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/typescript-estree/src/parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ function warnAboutTSVersion(): void {
364364
const border = '=============';
365365
const versionWarning = [
366366
border,
367-
'WARNING: You are currently running a version of TypeScript which is not officially supported by typescript-estree.',
367+
'WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.',
368368
'You may find that it works just fine, or you may not.',
369369
`SUPPORTED TYPESCRIPT VERSIONS: ${SUPPORTED_TYPESCRIPT_VERSIONS}`,
370370
`YOUR TYPESCRIPT VERSION: ${ACTIVE_TYPESCRIPT_VERSION}`,

packages/typescript-estree/tests/lib/warn-on-unsupported-ts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ describe('Warn on unsupported TypeScript version', () => {
1515
parser.parse('');
1616
expect(console.log).toHaveBeenCalledWith(
1717
expect.stringContaining(
18-
'WARNING: You are currently running a version of TypeScript which is not officially supported by typescript-estree',
18+
'WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree',
1919
),
2020
);
2121
});

0 commit comments

Comments
 (0)