Skip to content

Commit e8479b5

Browse files
committed
chore: add eslint-disable comments for member ordering in ConsoleCatcher methods
1 parent 20272ce commit e8479b5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/addons/consoleCatcher.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ export class ConsoleCatcher {
180180
/**
181181
* Initializes the console interceptor by overriding default console methods
182182
*/
183+
// eslint-disable-next-line @typescript-eslint/member-ordering
183184
public init(): void {
184185
if (this.isInitialized) {
185186
return;
@@ -219,6 +220,7 @@ export class ConsoleCatcher {
219220
*
220221
* @param event - The error or promise rejection event to handle
221222
*/
223+
// eslint-disable-next-line @typescript-eslint/member-ordering
222224
public addErrorEvent(event: ErrorEvent | PromiseRejectionEvent): void {
223225
const logEvent = this.createConsoleEventFromError(event);
224226

@@ -228,6 +230,7 @@ export class ConsoleCatcher {
228230
/**
229231
* Returns the current console output buffer
230232
*/
233+
// eslint-disable-next-line @typescript-eslint/member-ordering
231234
public getConsoleLogStack(): ConsoleLogEvent[] {
232235
return [...this.consoleOutput];
233236
}

0 commit comments

Comments
 (0)