Add multiline-comment-style lint rule and fix violations

Enable multiline-comment-style with starred-block to require JSDoc-style
block comments with content on separate lines from the opening delimiter.
Auto-fix existing violations across the codebase.

Fixes #5899

Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com>
This commit is contained in:
Cursor Agent
2026-05-26 20:15:55 +00:00
co-authored by Daniel Imms
parent 1a67b6f4b3
commit 4ec85e67ba
138 changed files with 3040 additions and 1837 deletions
@@ -416,11 +416,13 @@ test.describe('SerializeAddon', () => {
'中文中文',
'12中文',
'中文12',
// This line is going to be wrapped at last character
// because it has line length of 11 (1+2*5).
// We concat it back without the null cell currently.
// But this may be incorrect.
// see also #3097
/*
* This line is going to be wrapped at last character
* because it has line length of 11 (1+2*5).
* We concat it back without the null cell currently.
* But this may be incorrect.
* see also #3097
*/
'1中文中文中'
];
await ctx.proxy.write(lines.join('\r\n'));
@@ -503,9 +505,11 @@ test.describe('SerializeAddon', () => {
const MOVE_DOWN = (l: number): string => `\u001b[${l}B`;
const MOVE_LEFT = (l: number): string => `\u001b[${l}D`;
// A line wrap happened after current line.
// But there is no content.
// so wrap shouldn't even be able to happen.
/*
* A line wrap happened after current line.
* But there is no content.
* so wrap shouldn't even be able to happen.
*/
const segments = [
`123456789012345`,
MOVE_UP(1),
@@ -531,9 +535,11 @@ test.describe('SerializeAddon', () => {
10
);
// A line wrap happened after current line.
// But there is no content.
// so wrap shouldn't even be able to happen.
/*
* A line wrap happened after current line.
* But there is no content.
* so wrap shouldn't even be able to happen.
*/
const lines = [
padLines.join('\r\n'),
'\r\n',