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:
co-authored by
Daniel Imms
parent
1a67b6f4b3
commit
4ec85e67ba
@@ -459,8 +459,10 @@ export async function openTerminal(
|
||||
} catch {}
|
||||
}
|
||||
`);
|
||||
// HACK: Tests may have side effects that could cause the terminal not to be removed. This
|
||||
// assertion catches this case early.
|
||||
/*
|
||||
* HACK: Tests may have side effects that could cause the terminal not to be removed. This
|
||||
* assertion catches this case early.
|
||||
*/
|
||||
strictEqual(await ctx.page.evaluate(`document.querySelector('#terminal-container').children.length`), 0, 'there must be no terminals on the page');
|
||||
|
||||
let script = `
|
||||
@@ -501,8 +503,10 @@ export async function openTerminal(
|
||||
|
||||
await ctx.page.evaluate(script);
|
||||
|
||||
// HACK: This is a soft layer breaker that's temporarily included until unicode graphemes have
|
||||
// more complete integration tests. See https://github.com/xtermjs/xterm.js/pull/4519#discussion_r1285234453
|
||||
/*
|
||||
* HACK: This is a soft layer breaker that's temporarily included until unicode graphemes have
|
||||
* more complete integration tests. See https://github.com/xtermjs/xterm.js/pull/4519#discussion_r1285234453
|
||||
*/
|
||||
if (testOptions.loadUnicodeGraphemesAddon) {
|
||||
await ctx.page.evaluate(`
|
||||
window.unicode = new UnicodeGraphemesAddon();
|
||||
|
||||
Reference in New Issue
Block a user