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
@@ -837,8 +837,10 @@ test.describe('API Integration Tests', () => {
|
||||
test.describe('registerLinkProvider', () => {
|
||||
test('should fire provideLinks when hovering cells', async () => {
|
||||
await openTerminal(ctx);
|
||||
// Focus the terminal as the cursor will show and trigger a rerender, which can clear the
|
||||
// active link
|
||||
/*
|
||||
* Focus the terminal as the cursor will show and trigger a rerender, which can clear the
|
||||
* active link
|
||||
*/
|
||||
await ctx.proxy.focus();
|
||||
await ctx.page.evaluate(`
|
||||
window.calls = [];
|
||||
@@ -859,8 +861,10 @@ test.describe('API Integration Tests', () => {
|
||||
|
||||
test('should fire hover and leave events on the link', async () => {
|
||||
await openTerminal(ctx);
|
||||
// Focus the terminal as the cursor will show and trigger a rerender, which can clear the
|
||||
// active link
|
||||
/*
|
||||
* Focus the terminal as the cursor will show and trigger a rerender, which can clear the
|
||||
* active link
|
||||
*/
|
||||
await ctx.page.evaluate('window.term.focus()');
|
||||
await ctx.proxy.write('foo bar baz');
|
||||
// Wait for renderer to catch up as links are cleared on render
|
||||
@@ -897,8 +901,10 @@ test.describe('API Integration Tests', () => {
|
||||
|
||||
test('should work fine when hover and leave callbacks are not provided', async () => {
|
||||
await openTerminal(ctx);
|
||||
// Focus the terminal as the cursor will show and trigger a rerender, which can clear the
|
||||
// active link
|
||||
/*
|
||||
* Focus the terminal as the cursor will show and trigger a rerender, which can clear the
|
||||
* active link
|
||||
*/
|
||||
await ctx.page.evaluate('window.term.focus()');
|
||||
await ctx.proxy.write('foo bar baz');
|
||||
// Wait for renderer to catch up as links are cleared on render
|
||||
@@ -940,8 +946,10 @@ test.describe('API Integration Tests', () => {
|
||||
|
||||
test('should fire activate events when clicking the link', async () => {
|
||||
await openTerminal(ctx);
|
||||
// Focus the terminal as the cursor will show and trigger a rerender, which can clear the
|
||||
// active link
|
||||
/*
|
||||
* Focus the terminal as the cursor will show and trigger a rerender, which can clear the
|
||||
* active link
|
||||
*/
|
||||
await ctx.page.evaluate('window.term.focus()');
|
||||
await ctx.proxy.write('a b c');
|
||||
// Wait for renderer to catch up as links are cleared on render
|
||||
@@ -982,8 +990,10 @@ test.describe('API Integration Tests', () => {
|
||||
|
||||
test('should work when multiple links are provided on the same line', async () => {
|
||||
await openTerminal(ctx);
|
||||
// Focus the terminal as the cursor will show and trigger a rerender, which can clear the
|
||||
// active link
|
||||
/*
|
||||
* Focus the terminal as the cursor will show and trigger a rerender, which can clear the
|
||||
* active link
|
||||
*/
|
||||
await ctx.page.evaluate('window.term.focus()');
|
||||
await ctx.proxy.write('foo bar baz');
|
||||
// Wait for renderer to catch up as links are cleared on render
|
||||
@@ -1031,8 +1041,10 @@ test.describe('API Integration Tests', () => {
|
||||
|
||||
test('should dispose links when hovering away', async () => {
|
||||
await openTerminal(ctx);
|
||||
// Focus the terminal as the cursor will show and trigger a rerender, which can clear the
|
||||
// active link
|
||||
/*
|
||||
* Focus the terminal as the cursor will show and trigger a rerender, which can clear the
|
||||
* active link
|
||||
*/
|
||||
await ctx.page.evaluate('window.term.focus()');
|
||||
await ctx.proxy.write('foo bar baz');
|
||||
// Wait for renderer to catch up as links are cleared on render
|
||||
|
||||
Reference in New Issue
Block a user