From b78c7130e9986ce41284f33a0803ecdf6dd6affd Mon Sep 17 00:00:00 2001 From: David Sherret Date: Fri, 10 Nov 2023 13:40:39 -0500 Subject: fix: improve `deno doc --lint` error messages (#21156) This also updates deno_graph, which has the JSR change to use "exports". It's not yet useful atm, so I've made this PR a fix about the deno doc --lint error message improvements. I'll do a follow-up PR that adds exports to the deno.json --- cli/tests/testdata/doc/referenced_private_types_lint.out | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cli/tests/testdata/doc') diff --git a/cli/tests/testdata/doc/referenced_private_types_lint.out b/cli/tests/testdata/doc/referenced_private_types_lint.out index 3b1273e22..54f225059 100644 --- a/cli/tests/testdata/doc/referenced_private_types_lint.out +++ b/cli/tests/testdata/doc/referenced_private_types_lint.out @@ -1,8 +1,8 @@ -Type 'MyClass' references type 'MyInterface' which is not exported from a root module. -Missing JS documentation comment. +Missing JSDoc comment. at file:///[WILDCARD]/referenced_private_types.ts:5:1 -Missing JS documentation comment. +Type 'MyClass.prototype.prop' references type 'MyInterface' which is not exported from a root module. +Missing JSDoc comment. at file:///[WILDCARD]/referenced_private_types.ts:6:3 -error: Found 3 documentation diagnostics. +error: Found 3 documentation lint errors. -- cgit v1.2.3