Use jsdoc/multiline-blocks instead of multiline-comment-style

Replace multiline-comment-style (starred-block), which also forces
multiline // comments into block comments, with jsdoc/multiline-blocks.
That rule only enforces starred JSDoc layout for /** blocks (no text on
the opening line) and leaves multiline // comments unchanged for
internal documentation.

Fix multiline JSDoc in Types.ts.

Fixes #5899

Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com>
This commit is contained in:
Cursor Agent
2026-05-26 20:32:23 +00:00
co-authored by Daniel Imms
parent 4ec85e67ba
commit df3422fb0b
138 changed files with 1834 additions and 3028 deletions
@@ -21,10 +21,8 @@ test.describe('WebFontsAddon', () => {
deepStrictEqual(empty, []);
});
test.afterEach(async () => {
/*
* for font loading tests to work, we have to remove added rules and fonts
* to work around the quite aggressive font caching done by the browsers
*/
// for font loading tests to work, we have to remove added rules and fonts
// to work around the quite aggressive font caching done by the browsers
await ctx.page.evaluate(`
document.styleSheets[0].deleteRule(1);
document.styleSheets[0].deleteRule(0);
@@ -75,10 +73,8 @@ test.describe('WebFontsAddon', () => {
});
test('autoload & relayout from ctor', async ({ browser }) => {
/*
* to make this test work, we exclude the default measurement char W (x57) by restricting unicode-range
* now the browser will postpone font loading until codepoint is hit --> wrong glyph metrics on first usage
*/
// to make this test work, we exclude the default measurement char W (x57) by restricting unicode-range
// now the browser will postpone font loading until codepoint is hit --> wrong glyph metrics on first usage
const data = await ctx.page.evaluate(`
document.styleSheets[0].insertRule("@font-face {font-family: Kongtext; src: url(/fonts/kongtext.regular.ttf) format('truetype'); unicode-range: U+00A0-00FF}", 0);
`);
@@ -101,10 +97,8 @@ test.describe('WebFontsAddon', () => {
deepStrictEqual(await getDocumentFonts(), [{ family: 'Kongtext', status: 'unloaded' }]);
}
/*
* good case: addon fixes layout for webfont in ctor
* the relayout happens async, so wait a bit with a promise
*/
// good case: addon fixes layout for webfont in ctor
// the relayout happens async, so wait a bit with a promise
await ctx.page.evaluate(`
window.helperTerm.dispose();
window.helperTerm = new Terminal({fontFamily: '"Kongtext", ' + term.options.fontFamily});