Merge pull request #4206 from Tyriar/eslint-jsdoc

Add eslint-plugin-jsdoc with minimal comment rules
This commit is contained in:
Daniel Imms
2022-10-15 08:55:07 -07:00
committed by GitHub
32 changed files with 152 additions and 82 deletions
@@ -254,8 +254,6 @@ export class WebglRenderer extends Disposable implements IRenderer {
/**
* Refreshes the char atlas, aquiring a new one if necessary.
* @param terminal The terminal.
* @param colorSet The color set to use for the char atlas.
*/
private _refreshCharAtlas(): void {
if (this.dimensions.scaledCharWidth <= 0 && this.dimensions.scaledCharHeight <= 0) {
@@ -221,7 +221,6 @@ export abstract class BaseRenderLayer extends Disposable implements IRenderLayer
* @param cell The cell data for the character to draw.
* @param x The column to draw at.
* @param y The row to draw at.
* @param color The color of the character.
*/
protected _fillCharTrueColor(terminal: Terminal, cell: CellData, x: number, y: number): void {
this._ctx.font = this._getFont(terminal, false, false);
@@ -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;