diff options
author | Kenta Moriuchi <moriken@kimamass.com> | 2023-06-27 15:18:22 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-27 15:18:22 +0900 |
commit | e16b74d792c8fcdb46ab231575fc75f29d4d7fe7 (patch) | |
tree | dd3e21da57213ba623e287bc804c8014e00de6e2 /ext/node/polyfills/_process | |
parent | 814edcdd570b3fbef2001f7e6434320743a8f834 (diff) |
chore(ext/node): disable prefer-primordials on a per-file basis (#19553)
Diffstat (limited to 'ext/node/polyfills/_process')
-rw-r--r-- | ext/node/polyfills/_process/process.ts | 3 | ||||
-rw-r--r-- | ext/node/polyfills/_process/streams.mjs | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/ext/node/polyfills/_process/process.ts b/ext/node/polyfills/_process/process.ts index 10423adcd..ff854ea27 100644 --- a/ext/node/polyfills/_process/process.ts +++ b/ext/node/polyfills/_process/process.ts @@ -1,6 +1,9 @@ // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // Copyright Joyent, Inc. and Node.js contributors. All rights reserved. MIT license. +// TODO(petamoriken): enable prefer-primordials for node polyfills +// deno-lint-ignore-file prefer-primordials + // The following are all the process APIs that don't depend on the stream module // They have to be split this way to prevent a circular dependency diff --git a/ext/node/polyfills/_process/streams.mjs b/ext/node/polyfills/_process/streams.mjs index 934d4f967..3968e07ff 100644 --- a/ext/node/polyfills/_process/streams.mjs +++ b/ext/node/polyfills/_process/streams.mjs @@ -1,6 +1,9 @@ // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // Copyright Joyent, Inc. and Node.js contributors. All rights reserved. MIT license. +// TODO(petamoriken): enable prefer-primordials for node polyfills +// deno-lint-ignore-file prefer-primordials + import { Buffer } from "ext:deno_node/buffer.ts"; import { clearLine, |