From e16b74d792c8fcdb46ab231575fc75f29d4d7fe7 Mon Sep 17 00:00:00 2001 From: Kenta Moriuchi Date: Tue, 27 Jun 2023 15:18:22 +0900 Subject: chore(ext/node): disable prefer-primordials on a per-file basis (#19553) --- ext/node/polyfills/internal_binding/handle_wrap.ts | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ext/node/polyfills/internal_binding/handle_wrap.ts') diff --git a/ext/node/polyfills/internal_binding/handle_wrap.ts b/ext/node/polyfills/internal_binding/handle_wrap.ts index 9ba495edb..da62d297b 100644 --- a/ext/node/polyfills/internal_binding/handle_wrap.ts +++ b/ext/node/polyfills/internal_binding/handle_wrap.ts @@ -1,3 +1,6 @@ +// TODO(petamoriken): enable prefer-primordials for node polyfills +// deno-lint-ignore-file prefer-primordials + // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // Copyright Joyent, Inc. and other Node contributors. // @@ -24,6 +27,9 @@ // - https://github.com/nodejs/node/blob/master/src/handle_wrap.cc // - https://github.com/nodejs/node/blob/master/src/handle_wrap.h +// TODO(petamoriken): enable prefer-primordials for node polyfills +// deno-lint-ignore-file prefer-primordials + import { unreachable } from "ext:deno_node/_util/asserts.ts"; import { AsyncWrap, -- cgit v1.2.3