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/_utils.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ext/node/polyfills/_utils.ts') diff --git a/ext/node/polyfills/_utils.ts b/ext/node/polyfills/_utils.ts index 9e7982d02..c1145557f 100644 --- a/ext/node/polyfills/_utils.ts +++ b/ext/node/polyfills/_utils.ts @@ -1,5 +1,8 @@ // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// TODO(petamoriken): enable prefer-primordials for node polyfills +// deno-lint-ignore-file prefer-primordials + import { TextDecoder, TextEncoder } from "ext:deno_web/08_text_encoding.js"; import { errorMap } from "ext:deno_node/internal_binding/uv.ts"; import { codes } from "ext:deno_node/internal/error_codes.ts"; -- cgit v1.2.3