diff --git a/.eslintrc.json b/.eslintrc.json index 58082186..822ee4ba 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -144,6 +144,7 @@ ], "jsdoc/check-alignment": 1, "jsdoc/check-param-names": 1, + "jsdoc/no-multi-asterisks": 1, "keyword-spacing": "warn", "new-parens": "warn", "no-duplicate-imports": "warn", diff --git a/addons/xterm-addon-canvas/src/Types.d.ts b/addons/xterm-addon-canvas/src/Types.d.ts index 753bd127..edd5c2ea 100644 --- a/addons/xterm-addon-canvas/src/Types.d.ts +++ b/addons/xterm-addon-canvas/src/Types.d.ts @@ -64,7 +64,7 @@ export interface IRenderLayer extends IDisposable { handleBlur(): void; /** - * * Called when the terminal gets focus. + * Called when the terminal gets focus. */ handleFocus(): void; diff --git a/addons/xterm-addon-webgl/src/renderLayer/Types.ts b/addons/xterm-addon-webgl/src/renderLayer/Types.ts index bad56091..3dbdfd9c 100644 --- a/addons/xterm-addon-webgl/src/renderLayer/Types.ts +++ b/addons/xterm-addon-webgl/src/renderLayer/Types.ts @@ -13,7 +13,7 @@ export interface IRenderLayer extends IDisposable { handleBlur(terminal: Terminal): void; /** - * * Called when the terminal gets focus. + * Called when the terminal gets focus. */ handleFocus(terminal: Terminal): void; diff --git a/src/common/buffer/BufferLine.ts b/src/common/buffer/BufferLine.ts index 875ac6c9..5a192203 100644 --- a/src/common/buffer/BufferLine.ts +++ b/src/common/buffer/BufferLine.ts @@ -130,7 +130,7 @@ export class BufferLine implements IBufferLine { * Test whether contains any chars. * Basically an empty has no content, but other cells might differ in FG/BG * from real empty cells. - * */ + */ public hasContent(index: number): number { return this._data[index * CELL_SIZE + Cell.CONTENT] & Content.HAS_CONTENT_MASK; } diff --git a/src/common/buffer/CellData.ts b/src/common/buffer/CellData.ts index a87b5795..9454c553 100644 --- a/src/common/buffer/CellData.ts +++ b/src/common/buffer/CellData.ts @@ -47,7 +47,7 @@ export class CellData extends AttributeData implements ICellData { * Note this returns the UTF32 codepoint of single chars, * if content is a combined string it returns the codepoint * of the last char in string to be in line with code in CharData. - * */ + */ public getCode(): number { return (this.isCombined()) ? this.combinedData.charCodeAt(this.combinedData.length - 1)