Skip to content

Commit 8aaac70

Browse files
authored
Merge pull request #212 from guillaumewuip/FIX-tsdoc-characters-after-block-tag-no-message
Add tsdoc-characters-after-block-tag in allTsdocMessageIds
2 parents b59e9fb + 0b7c6be commit 8aaac70

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"changes": [
3+
{
4+
"packageName": "@microsoft/tsdoc",
5+
"comment": "Add some missing entries to TSDocConfiguration.allTsdocMessageIds() which were breaking eslint-plugin-tsdoc",
6+
"type": "patch"
7+
}
8+
],
9+
"packageName": "@microsoft/tsdoc",
10+
"email": "guillaumewuip@users.noreply.github.com"
11+
}

tsdoc/src/parser/TSDocMessageId.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,12 +384,12 @@ export const enum TSDocMessageId {
384384

385385
// Exposed via TSDocConfiguration.allTsdocMessageIds()
386386
export const allTsdocMessageIds: string[] = [
387+
// To make comparisons easy, keep these in the same order as the enum above:
387388
'tsdoc-config-file-not-found',
388389
'tsdoc-config-unsupported-schema',
389390
'tsdoc-config-schema-error',
390391
'tsdoc-config-cyclic-extends',
391392
'tsdoc-config-unresolved-extends',
392-
393393
'tsdoc-comment-not-found',
394394
'tsdoc-comment-missing-opening-delimiter',
395395
'tsdoc-comment-missing-closing-delimiter',
@@ -403,15 +403,18 @@ export const allTsdocMessageIds: string[] = [
403403
'tsdoc-tag-should-not-have-braces',
404404
'tsdoc-unsupported-tag',
405405
'tsdoc-undefined-tag',
406+
'tsdoc-param-tag-with-invalid-type',
407+
'tsdoc-param-tag-with-invalid-optional-name',
406408
'tsdoc-param-tag-with-invalid-name',
407409
'tsdoc-param-tag-missing-hyphen',
408410
'tsdoc-unnecessary-backslash',
409411
'tsdoc-missing-tag',
410412
'tsdoc-at-sign-in-word',
411413
'tsdoc-at-sign-without-tag-name',
412414
'tsdoc-malformed-inline-tag',
415+
'tsdoc-characters-after-block-tag',
413416
'tsdoc-malformed-tag-name',
414-
'tsdoc-text-after-tag',
417+
'tsdoc-characters-after-inline-tag',
415418
'tsdoc-inline-tag-missing-right-brace',
416419
'tsdoc-inline-tag-unescaped-brace',
417420
'tsdoc-inheritdoc-tag-syntax',

0 commit comments

Comments
 (0)