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
@@ -1,7 +1,9 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
/*
|
||||
*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
*--------------------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
import * as dom from '../Dom';
|
||||
import { FastDomNode } from './fastDomNode';
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
/*
|
||||
*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
*--------------------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
export class FastDomNode<T extends HTMLElement> {
|
||||
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
/*
|
||||
*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
*--------------------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
import * as dom from '../Dom';
|
||||
import { DisposableStore, IDisposable, toDisposable } from 'common/Lifecycle';
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
/*
|
||||
*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
*--------------------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
import { AbstractScrollbar, ISimplifiedPointerEvent, IScrollbarHost } from './abstractScrollbar';
|
||||
import { IScrollableElementResolvedOptions } from './scrollableElementOptions';
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
/*
|
||||
*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
*--------------------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
import * as platform from 'common/Platform';
|
||||
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
/*
|
||||
*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
*--------------------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
import { Emitter, IEvent } from 'common/Event';
|
||||
import { Disposable, IDisposable } from 'common/Lifecycle';
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
/*
|
||||
*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
*--------------------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
import * as dom from '../Dom';
|
||||
import { FastDomNode } from './fastDomNode';
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
/*
|
||||
*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
*--------------------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
import { ScrollbarVisibility } from './scrollable';
|
||||
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
/*
|
||||
*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
*--------------------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
import { GlobalPointerMoveMonitor } from './globalPointerMoveMonitor';
|
||||
import { Widget } from './widget';
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
/*
|
||||
*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
*--------------------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
/**
|
||||
* The minimal size of the slider (such that it can still be clickable).
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
/*
|
||||
*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
*--------------------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
import { FastDomNode } from './fastDomNode';
|
||||
import { TimeoutTimer } from 'common/Async';
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
/*
|
||||
*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
*--------------------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
import * as DomUtils from '../Dom';
|
||||
import { Disposable, IDisposable, toDisposable } from 'common/Lifecycle';
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
/*
|
||||
*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
*--------------------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
import { AbstractScrollbar, ISimplifiedPointerEvent, IScrollbarHost } from './abstractScrollbar';
|
||||
import { IScrollableElementResolvedOptions } from './scrollableElementOptions';
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
/*
|
||||
*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
*--------------------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
import * as dom from '../Dom';
|
||||
import { IMouseEvent, StandardMouseEvent } from './mouseEvent';
|
||||
|
||||
Reference in New Issue
Block a user