Fix linting errors

This commit is contained in:
Sander Declerck 2025-07-30 16:19:14 +02:00
parent 05ebb3f19e
commit 9ad90d8073
No known key found for this signature in database
2 changed files with 4 additions and 0 deletions

View file

@ -2,6 +2,10 @@ const escapeChar = "\u001b";
const startMarker = `${escapeChar}[?2004l`; const startMarker = `${escapeChar}[?2004l`;
const endMarker = `${escapeChar}[?2004h`; const endMarker = `${escapeChar}[?2004h`;
/* eslint-disable no-control-regex */
// This module removes control characters and escape sequences from shell output.
// So it is allowed to use control characters in the regex patterns here.
export function parseShellOutput(rawData) { export function parseShellOutput(rawData) {
const stringData = rawData.join(""); const stringData = rawData.join("");