Skip to content

Commit f6edb43

Browse files
committed
ugh
1 parent 7f0216f commit f6edb43

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/svelte/scripts/generate-types.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,13 @@ const types = fs.readFileSync(`${dir}/types/index.d.ts`, 'utf-8');
4242

4343
const bad_links = [...types.matchAll(/\]\((\/[^)]+)\)/g)];
4444
if (bad_links.length > 0) {
45+
// eslint-disable-next-line no-console
4546
console.error(
4647
`The following links in JSDoc annotations should be prefixed with https://svelte.dev:`
4748
);
4849

4950
for (const [, link] of bad_links) {
51+
// eslint-disable-next-line no-console
5052
console.error(`- ${link}`);
5153
}
5254

0 commit comments

Comments
 (0)