summaryrefslogtreecommitdiff
path: root/ext/node
diff options
context:
space:
mode:
Diffstat (limited to 'ext/node')
-rw-r--r--ext/node/polyfills/_fs/_fs_appendFile.ts3
-rw-r--r--ext/node/polyfills/_util/std_asserts.ts2
-rw-r--r--ext/node/polyfills/_util/std_fmt_colors.ts1
-rw-r--r--ext/node/polyfills/internal/util/types.ts3
-rw-r--r--ext/node/polyfills/internal_binding/connection_wrap.ts3
5 files changed, 0 insertions, 12 deletions
diff --git a/ext/node/polyfills/_fs/_fs_appendFile.ts b/ext/node/polyfills/_fs/_fs_appendFile.ts
index b7c63e270..707789862 100644
--- a/ext/node/polyfills/_fs/_fs_appendFile.ts
+++ b/ext/node/polyfills/_fs/_fs_appendFile.ts
@@ -1,8 +1,5 @@
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
-// TODO(petamoriken): enable prefer-primordials for node polyfills
-// deno-lint-ignore-file prefer-primordials
-
import {
CallbackWithError,
isFd,
diff --git a/ext/node/polyfills/_util/std_asserts.ts b/ext/node/polyfills/_util/std_asserts.ts
index ae23dc08f..f25904251 100644
--- a/ext/node/polyfills/_util/std_asserts.ts
+++ b/ext/node/polyfills/_util/std_asserts.ts
@@ -340,7 +340,6 @@ export function assertNotStrictEquals<T>(
* then throw. */
export function assertMatch(
actual: string,
- // deno-lint-ignore prefer-primordials
expected: RegExp,
msg?: string,
) {
@@ -356,7 +355,6 @@ export function assertMatch(
* then throw. */
export function assertNotMatch(
actual: string,
- // deno-lint-ignore prefer-primordials
expected: RegExp,
msg?: string,
) {
diff --git a/ext/node/polyfills/_util/std_fmt_colors.ts b/ext/node/polyfills/_util/std_fmt_colors.ts
index 4a3cad1ec..5072b298e 100644
--- a/ext/node/polyfills/_util/std_fmt_colors.ts
+++ b/ext/node/polyfills/_util/std_fmt_colors.ts
@@ -18,7 +18,6 @@ const noColor = false;
interface Code {
open: string;
close: string;
- // deno-lint-ignore prefer-primordials
regexp: RegExp;
}
diff --git a/ext/node/polyfills/internal/util/types.ts b/ext/node/polyfills/internal/util/types.ts
index 58b1b1045..30a25e2e5 100644
--- a/ext/node/polyfills/internal/util/types.ts
+++ b/ext/node/polyfills/internal/util/types.ts
@@ -21,9 +21,6 @@
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
// USE OR OTHER DEALINGS IN THE SOFTWARE.
-// TODO(petamoriken): enable prefer-primordials for node polyfills
-// deno-lint-ignore-file prefer-primordials
-
import { primordials } from "ext:core/mod.js";
import * as bindingTypes from "ext:deno_node/internal_binding/types.ts";
export {
diff --git a/ext/node/polyfills/internal_binding/connection_wrap.ts b/ext/node/polyfills/internal_binding/connection_wrap.ts
index 32f08887f..ef07025e2 100644
--- a/ext/node/polyfills/internal_binding/connection_wrap.ts
+++ b/ext/node/polyfills/internal_binding/connection_wrap.ts
@@ -24,9 +24,6 @@
// - https://github.com/nodejs/node/blob/master/src/connection_wrap.cc
// - https://github.com/nodejs/node/blob/master/src/connection_wrap.h
-// TODO(petamoriken): enable prefer-primordials for node polyfills
-// deno-lint-ignore-file prefer-primordials
-
import { LibuvStreamWrap } from "ext:deno_node/internal_binding/stream_wrap.ts";
import {
AsyncWrap,