diff --git a/.eslintrc.json b/.eslintrc.json index 8064820e..58082186 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -142,6 +142,7 @@ "warn", "always" ], + "jsdoc/check-alignment": 1, "jsdoc/check-param-names": 1, "keyword-spacing": "warn", "new-parens": "warn", diff --git a/addons/xterm-addon-canvas/src/BaseRenderLayer.ts b/addons/xterm-addon-canvas/src/BaseRenderLayer.ts index 872d8cfc..29c85558 100644 --- a/addons/xterm-addon-canvas/src/BaseRenderLayer.ts +++ b/addons/xterm-addon-canvas/src/BaseRenderLayer.ts @@ -162,11 +162,11 @@ export abstract class BaseRenderLayer extends Disposable implements IRenderLayer } /** - * Fills a 1px line (2px on HDPI) at the middle of the cell. This uses the - * existing fillStyle on the context. - * @param x The column to fill. - * @param y The row to fill. - */ + * Fills a 1px line (2px on HDPI) at the middle of the cell. This uses the + * existing fillStyle on the context. + * @param x The column to fill. + * @param y The row to fill. + */ protected _fillMiddleLineAtCells(x: number, y: number, width: number = 1): void { const cellOffset = Math.ceil(this._scaledCellHeight * 0.5); this._ctx.fillRect( diff --git a/src/common/parser/Constants.ts b/src/common/parser/Constants.ts index 85156c3e..7fe24f34 100644 --- a/src/common/parser/Constants.ts +++ b/src/common/parser/Constants.ts @@ -24,8 +24,8 @@ export const enum ParserState { } /** -* Internal actions of EscapeSequenceParser. -*/ + * Internal actions of EscapeSequenceParser. + */ export const enum ParserAction { IGNORE = 0, ERROR = 1, diff --git a/src/common/parser/Types.d.ts b/src/common/parser/Types.d.ts index 3a621eab..a1ea0ec2 100644 --- a/src/common/parser/Types.d.ts +++ b/src/common/parser/Types.d.ts @@ -142,8 +142,8 @@ export type PrintFallbackHandlerType = PrintHandlerType; /** -* EscapeSequenceParser interface. -*/ + * EscapeSequenceParser interface. + */ export interface IEscapeSequenceParser extends IDisposable { /** * Preceding codepoint to get REP working correctly.