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
+7 -13
View File
@@ -173,11 +173,9 @@ const createNewWindowButtonHandler: () => void = () => {
terminalContainer.id = 'terminal-container';
win.document.body.appendChild(terminalContainer);
/*
* Stylesheets are needed to get the terminal in the popout window to render
* correctly. We also need to wait for them to load before creating the
* terminal, otherwise we will not compute the correct metrics when rendering.
*/
// Stylesheets are needed to get the terminal in the popout window to render
// correctly. We also need to wait for them to load before creating the
// terminal, otherwise we will not compute the correct metrics when rendering.
let pendingStylesheets = 0;
for (const linkNode of document.querySelectorAll('head link[rel=stylesheet]')) {
const newLink = document.createElement('link');
@@ -361,10 +359,8 @@ function createTerminal(): Terminal {
const resizeObserver = new ResizeObserver(entries => {
if (optionsWindow.autoResize) {
/*
* In general this should be debounced to avoid excessive work on the main
* thread by firing the expensive resize action repeatedly
*/
// In general this should be debounced to avoid excessive work on the main
// thread by firing the expensive resize action repeatedly
addons.fit.instance!.fit();
}
});
@@ -551,10 +547,8 @@ function initAddons(term: Terminal): void {
addon.instance = undefined;
}
if (name === 'ligatures') {
/*
* Recreate webgl when ligatures are toggled so texture atlas picks up any font feature
* settings changes
*/
// Recreate webgl when ligatures are toggled so texture atlas picks up any font feature
// settings changes
if (addons.webgl.instance) {
preDisposeWebgl();
addons.webgl.instance.dispose();