From a7c002ae634b20a2f84c90417327a88c9ac2df99 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Tue, 20 Aug 2024 15:14:37 -0400 Subject: chore: enable no-console dlint rule (#25113) --- tests/unit_node/_fs/_fs_write_test.ts | 3 +++ tests/unit_node/http2_test.ts | 2 ++ tests/unit_node/http_test.ts | 2 ++ tests/unit_node/net_test.ts | 2 ++ tests/unit_node/process_test.ts | 3 ++- 5 files changed, 11 insertions(+), 1 deletion(-) (limited to 'tests/unit_node') diff --git a/tests/unit_node/_fs/_fs_write_test.ts b/tests/unit_node/_fs/_fs_write_test.ts index a140548e1..2b07d600b 100644 --- a/tests/unit_node/_fs/_fs_write_test.ts +++ b/tests/unit_node/_fs/_fs_write_test.ts @@ -1,4 +1,7 @@ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. + +// deno-lint-ignore-file no-console + import { write, writeSync } from "node:fs"; import { assertEquals } from "@std/assert"; import { Buffer } from "node:buffer"; diff --git a/tests/unit_node/http2_test.ts b/tests/unit_node/http2_test.ts index 7cffd0432..8e98bd28d 100644 --- a/tests/unit_node/http2_test.ts +++ b/tests/unit_node/http2_test.ts @@ -1,5 +1,7 @@ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// deno-lint-ignore-file no-console + import * as http2 from "node:http2"; import { Buffer } from "node:buffer"; import { readFile } from "node:fs/promises"; diff --git a/tests/unit_node/http_test.ts b/tests/unit_node/http_test.ts index ec20ec7d7..2043a0004 100644 --- a/tests/unit_node/http_test.ts +++ b/tests/unit_node/http_test.ts @@ -1,5 +1,7 @@ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// deno-lint-ignore-file no-console + import EventEmitter from "node:events"; import http, { type RequestOptions, type ServerResponse } from "node:http"; import url from "node:url"; diff --git a/tests/unit_node/net_test.ts b/tests/unit_node/net_test.ts index 521de1e73..f49ff0ef0 100644 --- a/tests/unit_node/net_test.ts +++ b/tests/unit_node/net_test.ts @@ -1,5 +1,7 @@ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// deno-lint-ignore-file no-console + import * as net from "node:net"; import { assert, assertEquals } from "@std/assert"; import * as path from "@std/path"; diff --git a/tests/unit_node/process_test.ts b/tests/unit_node/process_test.ts index cc9e4dbd4..a647b0369 100644 --- a/tests/unit_node/process_test.ts +++ b/tests/unit_node/process_test.ts @@ -1,6 +1,7 @@ -// deno-lint-ignore-file no-undef // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// deno-lint-ignore-file no-undef no-console + import process, { arch as importedArch, argv, -- cgit v1.2.3