Skip to content

Commit be47e7b

Browse files
committed
fix: suppress unbounded-collection lint for test cleanup arrays
1 parent 1fb5631 commit be47e7b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/lsp/test/cli/daemon.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ function testLogPath(projectRoot: string): string {
4848
return resolve(ipcDir(), `ganko-${hash}-${LSP_VERSION}.log`);
4949
}
5050

51-
/** Cleanup registry — all dirs/pids registered here are cleaned in afterAll/afterEach as appropriate. */
52-
const globalCleanupDirs: string[] = [];
53-
const globalCleanupPids: number[] = [];
51+
/** Cleanup registry — drained in afterAll at end of test suite. */
52+
const globalCleanupDirs: string[] = []; // eslint-disable-line solid/unbounded-collection -- test cleanup, drained in afterAll
53+
const globalCleanupPids: number[] = []; // eslint-disable-line solid/unbounded-collection -- test cleanup, drained in afterAll
5454

5555
function createTempProject(files: Record<string, string>): string {
5656
const dir = mkdtempSync(join(tmpdir(), "ganko-daemon-test-"));

0 commit comments

Comments
 (0)