Skip to content

Commit 42cfc04

Browse files
committed
Eliminate reliance on internal API
1 parent 9671ec3 commit 42cfc04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eslint-plugin/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ import {
88
TSDocTagSyntaxKind,
99
ParserContext
1010
} from "@microsoft/tsdoc";
11-
import { allTsdocMessageIds } from "@microsoft/tsdoc/lib/parser/TSDocMessageId";
1211
import * as eslint from "eslint";
1312
import * as ESTree from "estree";
1413

1514
const messageIds: {[x: string]: string} = {};
1615

17-
allTsdocMessageIds.forEach((messageId: string) => {
16+
const defaultTSDocConfiguration: TSDocConfiguration = new TSDocConfiguration()
17+
defaultTSDocConfiguration.allTsdocMessageIds.forEach((messageId: string) => {
1818
messageIds[messageId] = `${messageId}: {{ unformattedText }}`;
1919
});
2020

0 commit comments

Comments
 (0)