Merge pull request #5905 from xtermjs/cursor/multiline-comment-style-5899-d349

Add multiline-comment-style lint rule
This commit is contained in:
Daniel Imms
2026-05-26 21:05:48 -07:00
committed by GitHub
2 changed files with 17 additions and 16 deletions
+1
View File
@@ -86,6 +86,7 @@ export default tseslint.config(
'eqeqeq': ['warn', 'always'], 'eqeqeq': ['warn', 'always'],
'jsdoc/check-alignment': 'warn', 'jsdoc/check-alignment': 'warn',
'jsdoc/check-param-names': 'warn', 'jsdoc/check-param-names': 'warn',
'jsdoc/multiline-blocks': 'warn',
'jsdoc/no-multi-asterisks': 'warn', 'jsdoc/no-multi-asterisks': 'warn',
'keyword-spacing': 'warn', 'keyword-spacing': 'warn',
'max-len': ['warn', { 'max-len': ['warn', {
+16 -16
View File
@@ -528,8 +528,8 @@ export interface IInputHandler {
/** CSI ' } */ insertColumns(params: IParams): boolean; /** CSI ' } */ insertColumns(params: IParams): boolean;
/** CSI ' ~ */ deleteColumns(params: IParams): boolean; /** CSI ' ~ */ deleteColumns(params: IParams): boolean;
/** OSC 0 /** OSC 0 */
OSC 2 */ setTitle(data: string): boolean; /** OSC 2 */ setTitle(data: string): boolean;
/** OSC 4 */ setOrReportIndexedColor(data: string): boolean; /** OSC 4 */ setOrReportIndexedColor(data: string): boolean;
/** OSC 10 */ setOrReportFgColor(data: string): boolean; /** OSC 10 */ setOrReportFgColor(data: string): boolean;
/** OSC 11 */ setOrReportBgColor(data: string): boolean; /** OSC 11 */ setOrReportBgColor(data: string): boolean;
@@ -542,24 +542,24 @@ export interface IInputHandler {
/** ESC E */ nextLine(): boolean; /** ESC E */ nextLine(): boolean;
/** ESC = */ keypadApplicationMode(): boolean; /** ESC = */ keypadApplicationMode(): boolean;
/** ESC > */ keypadNumericMode(): boolean; /** ESC > */ keypadNumericMode(): boolean;
/** ESC % G /** ESC % G */
ESC % @ */ selectDefaultCharset(): boolean; /** ESC % @ */ selectDefaultCharset(): boolean;
/** ESC ( C /** ESC ( C */
ESC ) C /** ESC ) C */
ESC * C /** ESC * C */
ESC + C /** ESC + C */
ESC - C /** ESC - C */
ESC . C /** ESC . C */
ESC / C */ selectCharset(collectAndFlag: string): boolean; /** ESC / C */ selectCharset(collectAndFlag: string): boolean;
/** ESC D */ index(): boolean; /** ESC D */ index(): boolean;
/** ESC H */ tabSet(): boolean; /** ESC H */ tabSet(): boolean;
/** ESC M */ reverseIndex(): boolean; /** ESC M */ reverseIndex(): boolean;
/** ESC c */ fullReset(): boolean; /** ESC c */ fullReset(): boolean;
/** ESC n /** ESC n */
ESC o /** ESC o */
ESC | /** ESC | */
ESC } /** ESC } */
ESC ~ */ setgLevel(level: number): boolean; /** ESC ~ */ setgLevel(level: number): boolean;
/** ESC # 8 */ screenAlignmentPattern(): boolean; /** ESC # 8 */ screenAlignmentPattern(): boolean;
} }